public class ProNetworkClusterSystem extends NetworkClusterSystem
START_PRIORITY
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER, STOP_PRIORITY_CLASSLOADER
Constructor and Description |
---|
ProNetworkClusterSystem(CloudServer selfServer) |
Modifier and Type | Method and Description |
---|---|
static NetworkAddressResult |
findLocalSocketAddress(CloudServer server,
java.lang.String scheme,
java.lang.String address,
int port) |
static NetworkAddressResult |
findLocalSocketAddress(ClusterServer clusterServer) |
NetworkAddressResult |
getLocalSocketAddress(ClusterServer clusterServer)
Returns the local ip address for a server configured with
external-address.
|
void |
start()
Starts the service.
|
addClusterExtensionProtocol, addLinkListener, addServerListener, configServer, createAndAddService, getClusterListener, getCurrent, getCurrentSelfServer, getLocalAddresses, getSelfServer, getServerId, getStartPriority, notifyHeartbeatStart, notifyHeartbeatStop, notifyLinkClose, removeServerListener, stop, toString
destroy, getStopPriority, isActive, preCreate
public ProNetworkClusterSystem(CloudServer selfServer)
public void start() throws java.lang.Exception
ResinSubSystem
start
in interface ResinSubSystem
start
in class NetworkClusterSystem
java.lang.Exception
public NetworkAddressResult getLocalSocketAddress(ClusterServer clusterServer)
getLocalSocketAddress
in class NetworkClusterSystem
public static NetworkAddressResult findLocalSocketAddress(ClusterServer clusterServer)
public static NetworkAddressResult findLocalSocketAddress(CloudServer server, java.lang.String scheme, java.lang.String address, int port)