public class ClusterBridge
extends java.lang.Object
构造器和说明 |
---|
ClusterBridge() |
限定符和类型 | 方法和说明 |
---|---|
static ClusterConfig |
getConfig() |
static ClusterLockFactory |
getLockFactory() |
static ClusterView |
getView() |
static boolean |
isClusterMode() |
static void |
setCluster(Cluster cluster) |
static void |
setNodeIP(java.lang.String id,
java.lang.String host) |
static void |
setNodeName(java.lang.String id,
java.lang.String clusterName) |
static void |
setNodHttpPort(java.lang.String id,
int port) |
public static void setCluster(Cluster cluster)
public static ClusterConfig getConfig()
public static boolean isClusterMode()
public static ClusterLockFactory getLockFactory()
public static ClusterView getView()
public static void setNodeName(java.lang.String id, java.lang.String clusterName)
public static void setNodeIP(java.lang.String id, java.lang.String host)
public static void setNodHttpPort(java.lang.String id, int port)