public class SpaceClusterInfo extends Object implements SmartExternalizable
Constructor and Description |
---|
SpaceClusterInfo()
Required for Externalizable
|
SpaceClusterInfo(JSpaceAttributes spaceAttributes,
String defaultMemberName) |
SpaceClusterInfo(SpaceClusterInfo clusterInfo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public SpaceClusterInfo()
public SpaceClusterInfo(JSpaceAttributes spaceAttributes, String defaultMemberName)
public SpaceClusterInfo(SpaceClusterInfo clusterInfo)
public boolean isClustered()
public boolean isBroadcastDisabled()
public SpaceClusterInfo cloneAndUpdate(ClusterTopology newChunksMap)
public boolean isPartitioned()
public int getNumberOfPartitions()
public ClusterTopology getTopology()
public int getNumberOfBackups()
public SpaceProxyLoadBalancerType getLoadBalancerType()
public List<String> getPartitionMembersNames(int partitionId)
public int getPartitionOfMember(String memberName)
public boolean isReplicated()
public boolean isActiveActive()
public <T> T getCustomComponent(String key)
public Map<String,SpaceCustomComponent> getCustomComponents()
public void setCustomComponent(SpaceCustomComponent component)
public void setNumOfPartitions(int numOfPartitions)
public boolean isSyncReplicationEnabled()
public boolean isMirrorServiceEnabled()
public MirrorServiceConfig getMirrorServiceConfig()
public boolean hasReplicationTargets()
public boolean isPrimaryElectionAvailable()
public String getClusterName()
public String getClusterSchema()
public void setTopology(ClusterTopology topology)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public boolean isChunksRouting()
public int getPartitionId(int routingValue)
public int getPartitionId(long routingValue)
Copyright © GigaSpaces.