Package | Description |
---|---|
com.caucho.cloud.bam | |
com.caucho.cloud.network | |
com.caucho.cluster | |
com.caucho.distcache.cluster | |
com.caucho.env.vote | |
com.caucho.server.cluster | |
com.caucho.server.resin |
Modifier and Type | Method and Description |
---|---|
ClusterServer |
BamTriadDispatcher.getActiveOrSelfServer(TriadOwner owner)
Returns the address of the first active server.
|
Modifier and Type | Method and Description |
---|---|
static HmtpPool |
HmtpPool.create(ClusterServer server,
int threadMax) |
protected BamActorRef |
PodAllRemoteRouter.createActor(java.lang.String uid,
ClusterServer server) |
protected BamActorRef |
PodAllRouter.createActor(java.lang.String uid,
ClusterServer server) |
Modifier and Type | Method and Description |
---|---|
static ClusterServer |
ClusterServer.getCurrent() |
Modifier and Type | Method and Description |
---|---|
static NetworkAddressResult |
ProNetworkClusterSystem.findLocalSocketAddress(ClusterServer clusterServer) |
NetworkAddressResult |
ProNetworkClusterSystem.getLocalSocketAddress(ClusterServer clusterServer)
Returns the local ip address for a server configured with
external-address.
|
NetworkAddressResult |
NetworkClusterSystem.getLocalSocketAddress(ClusterServer clusterServer)
Returns the local ip address for a server configured with
external-address.
|
protected void |
NetworkClusterSystem.notifyHeartbeatStart(ClusterServer server) |
protected void |
NetworkClusterSystem.notifyHeartbeatStop(ClusterServer server) |
void |
ClusterServerListener.serverStart(ClusterServer server) |
void |
ClusterServerListener.serverStop(ClusterServer server) |
Constructor and Description |
---|
ClusterServerAdmin(ClusterServer server) |
ClusterTcpPort(ClusterServer server) |
Modifier and Type | Method and Description |
---|---|
ClusterServer |
ClusterVoteManager.electServer(java.lang.String name)
Selects a cluster owner
|
Modifier and Type | Method and Description |
---|---|
void |
CacheMnodeActor.serverStart(ClusterServer server)
Called when a server starts.
|
void |
CacheMnodeActor.serverStop(ClusterServer server)
Called when a server stops.
|
Modifier and Type | Method and Description |
---|---|
ClusterServer |
SingleVoteManager.electServer(java.lang.String guid,
java.lang.String name)
Selects a cluster owner
|
abstract ClusterServer |
AbstractVoteManager.electServer(java.lang.String guid,
java.lang.String name)
Selects a cluster owner
|
Modifier and Type | Method and Description |
---|---|
abstract ClusterServer |
Cluster.createServer()
Adds a new server to the cluster during configuration.
|
abstract ClusterServer |
ClusterPod.createServer()
Creates a cluster server
|
ClusterServer |
ClusterPod.findServer(int index)
Finds the matching server.
|
ClusterServer |
Cluster.findServer(int podIndex,
int index)
Finds the first server with the given server-id.
|
ClusterServer |
Cluster.findServer(java.lang.String id)
Finds the first server with the given server-id.
|
ClusterServer |
ClusterPod.findServer(java.lang.String id)
Finds the first server with the given id
|
ClusterServer |
Cluster.findServer(java.lang.String address,
int port)
Finds the first server with the given server-id.
|
ClusterServer |
ClusterPod.findServer(java.lang.String address,
int port)
Finds the first server with the given address and port
|
ClusterServer |
Cluster.findServerByPrefix(java.lang.String prefix)
Finds the first server with the given server-id.
|
ClusterServer |
ClusterPod.findServerByPrefix(java.lang.String id)
Finds the first server with the given id
|
ClusterServer |
ClusterPod.getActiveOrSelfServer(ClusterPod.Owner owner,
ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
OwnerServerTriad.getActiveOrSelfServer(ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
ClusterPod.getActiveServer(ClusterPod.Owner owner,
ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
OwnerServerTriad.getActiveServer(ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
protected ClusterServer |
ServletService.getClusterServer()
Returns the cluster server
|
ClusterServer |
OwnerServerTriad.getPrimary()
Returns the primary for this ownership triad.
|
ClusterServer |
ClusterPod.getPrimary(ClusterPod.Owner owner)
Returns the primary server given an ownership tag.
|
ClusterServer |
OwnerServerTriad.getPrimaryIfActiveRemote()
Returns the primary if it is active, i.e.
|
ClusterServer |
OwnerServerTriad.getPrimaryIfRemote()
Returns the primary if it is remote, i.e.
|
ClusterServer |
OwnerServerTriad.getSecondary()
Returns the secondary for this ownership triad.
|
ClusterServer |
ClusterPod.getSecondary(ClusterPod.Owner owner)
Returns the secondary server given an ownership tag.
|
ClusterServer |
OwnerServerTriad.getSecondaryIfActiveRemote()
Returns the secondary if it is remote, i.e.
|
ClusterServer |
OwnerServerTriad.getSecondaryIfRemote()
Returns the secondary if it is remote, i.e.
|
ClusterServer |
ServletService.getSelfServer()
Returns the self server
|
abstract ClusterServer |
ClusterPod.getServerA()
Returns the triad's first server
|
abstract ClusterServer |
ClusterPod.getServerB()
Returns the triad's second server
|
abstract ClusterServer |
ClusterPod.getServerC()
Returns the triad's third server
|
abstract ClusterServer[] |
ClusterPod.getServerList()
Return the servers statically configured in the triad
|
ClusterServer |
OwnerServerTriad.getTertiary()
Returns the tertiary for this ownership triad.
|
ClusterServer |
ClusterPod.getTertiary(ClusterPod.Owner owner)
Returns the tertiary server given an ownership tag.
|
ClusterServer |
OwnerServerTriad.getTertiaryIfActiveRemote()
Returns the tertiary if it is remote, i.e.
|
ClusterServer |
OwnerServerTriad.getTertiaryIfRemote()
Returns the tertiary if it is remote, i.e.
|
ClusterServer |
ClusterPod.setActiveDynamicServer(java.lang.String serverId,
java.lang.String address,
int port,
int index)
Sets the active dynamic server
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.ArrayList<ClusterServer> |
ClusterPod.getStaticServerList()
Return the servers statically configured in the triad
|
Modifier and Type | Method and Description |
---|---|
void |
Cluster.addServer(ClusterServer server)
Adds a new server to the cluster during configuration.
|
void |
ClusterPod.addServer(ClusterServer server)
Adds cluster server
|
protected void |
Cluster.configureServerDefault(ClusterServer server)
Configure the default values for the server
|
ClusterServer |
ClusterPod.getActiveOrSelfServer(ClusterPod.Owner owner,
ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
OwnerServerTriad.getActiveOrSelfServer(ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
ClusterPod.getActiveServer(ClusterPod.Owner owner,
ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
OwnerServerTriad.getActiveServer(ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
boolean |
ClusterPod.isTriad(ClusterServer server)
Returns true for any of the triad servers.
|
void |
Cluster.removeDynamicServer(ClusterServer server)
Adds a new server to the cluster.
|
protected void |
Cluster.setSelfServer(ClusterServer server) |
void |
ClusterServerListener.start(ClusterServer server)
Notification that a server has started.
|
void |
ClusterServerListener.stop(ClusterServer server)
Notification that a server has stopped
|
Constructor and Description |
---|
OwnerServerTriad(ClusterServer primary,
ClusterServer secondary,
ClusterServer tertiary)
Creates the server triad for a ClusterTriad.Owner
|
Modifier and Type | Method and Description |
---|---|
protected ClusterServer |
ProResinDelegate.loadDynamicServer(ClusterPod pod,
java.lang.String dynId,
java.lang.String dynAddress,
int dynPort) |
protected ClusterServer |
ResinDelegate.loadDynamicServer(ClusterPod pod,
java.lang.String dynId,
java.lang.String dynAddress,
int dynPort) |