public class SpaceClusterInfo extends Object implements Externalizable
Constructor and Description |
---|
SpaceClusterInfo()
Required for Externalizable
|
SpaceClusterInfo(JSpaceAttributes spaceAttributes,
String defaultMemberName) |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName() |
String |
getClusterSchema() |
<T> T |
getCustomComponent(String key) |
Map<String,SpaceCustomComponent> |
getCustomComponents() |
SpaceProxyLoadBalancerType |
getLoadBalancerType() |
List<String> |
getMembersNames() |
MirrorServiceConfig |
getMirrorServiceConfig() |
int |
getNumberOfBackups() |
int |
getNumberOfPartitions() |
List<String> |
getPartitionMembersNames(int partitionId) |
int |
getPartitionOfMember(String memberName) |
boolean |
hasReplicationTargets() |
boolean |
isActiveActive() |
boolean |
isBroadcastDisabled() |
boolean |
isClustered() |
boolean |
isMirrorServiceEnabled() |
boolean |
isPartitioned() |
boolean |
isPrimaryElectionAvailable() |
boolean |
isReplicated() |
boolean |
isSyncReplicationEnabled() |
void |
readExternal(ObjectInput in) |
void |
setCustomComponent(SpaceCustomComponent component) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public SpaceClusterInfo()
public SpaceClusterInfo(JSpaceAttributes spaceAttributes, String defaultMemberName)
public boolean isClustered()
public boolean isBroadcastDisabled()
public boolean isPartitioned()
public int getNumberOfPartitions()
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 boolean isSyncReplicationEnabled()
public boolean isMirrorServiceEnabled()
public MirrorServiceConfig getMirrorServiceConfig()
public boolean hasReplicationTargets()
public boolean isPrimaryElectionAvailable()
public String getClusterName()
public String getClusterSchema()
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
Copyright © GigaSpaces.