@Deprecated
public interface PRCluster
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
static java.util.UUID |
NULL_UUID_VALUE
Deprecated.
|
static java.lang.String |
VERSION
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
alterState(ClusterState aState)
Deprecated.
alters the state of the cluster.
|
void |
broadcastSystemPulse(java.util.Collection<PRPulseMessage> aPulseMessages)
Deprecated.
Broadcast a list of System Pulse Messages via the Cluster
|
boolean |
checkMembershipConsistency()
Deprecated.
An implementation-specific check of cluster membership consistency.
|
boolean |
checkProtocolConsistency()
Deprecated.
Checks that active members in the cluster are using the same cluster protocol.
|
boolean |
establishNodePermanance(java.lang.String aNodeId,
com.pega.pegarules.priv.context.PegaNode node)
Deprecated.
Check to ensure that a given nodeid is actually unique in the cluster.
|
PRDistributedAtomicSequence |
getAtomicSequence()
Deprecated.
|
java.lang.String |
getClusterAddress()
Deprecated.
Get's this node's cluster address.
|
java.util.UUID |
getClusterId(java.lang.String aNodeId)
Deprecated.
Fetch the Cluster UUID for the given node.
|
java.lang.String |
getClusterName()
Deprecated.
Get the name of the Cluster.
|
java.lang.String |
getClusterProtocol()
Deprecated.
|
ClusterExecutor |
getDistributedExecutor()
Deprecated.
Acquire the interface for a Cluster-wide executor implementation, based on the current clustering protocol.
|
PRDistributedMessageManager |
getDistributedMessageManager()
Deprecated.
|
PRDistributedObjectManager |
getDistributedObjectManager()
Deprecated.
|
double |
getMaxInactiveMinutes()
Deprecated.
Return the maximum number of minutes before a cluster member is considered stale / inactive
|
java.util.List<PRNodeInfo> |
getMembersInfo()
Deprecated.
Get details of all the nodes in the cluster
|
java.util.List<java.util.UUID> |
getMemberUuids()
Deprecated.
Provide a list of the string representation for the UUIDs of all members in the cluster.
|
com.pega.pegarules.priv.context.NodeClassification |
getNodeClassification()
Deprecated.
|
java.lang.String |
getNodeIdFromUUID(java.lang.String aUUID)
Deprecated.
|
java.lang.String |
getNodeInfo(java.lang.String aNodeId)
Deprecated.
Descriptive Member info
|
java.lang.String |
getPotentialClusterMembers()
Deprecated.
Get a list of potential cluster members to be used for discovery
|
com.pega.pegarules.priv.presence.PresenceDataGrid |
getPresenceDataGrid()
Deprecated.
|
IPulseProvider |
getPulseProvider()
Deprecated.
Returns Lock Provider service
|
ClusterState |
getState()
Deprecated.
fetches the state of the cluster
|
java.net.InetAddress |
getThisMembersAddress()
Deprecated.
Provide the
InetAddress associated with this node. |
int |
getThisMembersPort()
Deprecated.
Provide the port associated with this node.
|
java.util.UUID |
getThisMembersUuid()
Deprecated.
Provide the unique identifier associated with the node executing this method.
|
boolean |
hasValidClusterAddress()
Deprecated.
Does this cluster have a valid cluster address?
|
boolean |
isInitialized()
Deprecated.
|
void |
setInitialized(boolean isInitialized)
Deprecated.
|
void |
shutdown()
Deprecated.
Shut down the cluster and all it's threads
|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
static final java.util.UUID NULL_UUID_VALUE
ClusterState getState()
boolean establishNodePermanance(java.lang.String aNodeId, com.pega.pegarules.priv.context.PegaNode node)
aNodeId
- node
- true
if aNodeId is actually uniquejava.lang.String getClusterName()
java.lang.String getPotentialClusterMembers()
java.lang.String getNodeInfo(java.lang.String aNodeId)
aNodeId
- String
identifying a nodeboolean checkMembershipConsistency()
boolean checkProtocolConsistency()
void alterState(ClusterState aState)
aState
- - new state that should be entered.java.util.List<java.util.UUID> getMemberUuids()
java.util.UUID getThisMembersUuid()
null
if the cluster protocol is 'default'.java.net.InetAddress getThisMembersAddress()
InetAddress
associated with this node.
Multiple PRPC nodes may have the same InetAddress
. Use getThisMembersUuid()
to get unique identifier.int getThisMembersPort()
java.lang.String getClusterAddress()
ClusterExecutor getDistributedExecutor()
java.util.UUID getClusterId(java.lang.String aNodeId)
aNodeId
- void shutdown()
boolean hasValidClusterAddress()
void broadcastSystemPulse(java.util.Collection<PRPulseMessage> aPulseMessages)
aPulseMessages
- - The list of messages to broadcastPRDistributedObjectManager getDistributedObjectManager()
PRDistributedMessageManager getDistributedMessageManager()
com.pega.pegarules.priv.presence.PresenceDataGrid getPresenceDataGrid()
IPulseProvider getPulseProvider()
boolean isInitialized()
void setInitialized(boolean isInitialized)
isInitialized
- set the initialized parameterjava.util.List<PRNodeInfo> getMembersInfo()
java.lang.String getNodeIdFromUUID(java.lang.String aUUID)
double getMaxInactiveMinutes()
com.pega.pegarules.priv.context.NodeClassification getNodeClassification()
PRDistributedAtomicSequence getAtomicSequence()
java.lang.String getClusterProtocol()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.