public class ClusterPolicy extends Object implements SmartExternalizable
Modifier and Type | Class and Description |
---|---|
static class |
ClusterPolicy.CacheLoaderConfig |
Modifier and Type | Field and Description |
---|---|
List<String> |
m_AllClusterMemberList |
ClusterPolicy.CacheLoaderConfig |
m_CacheLoaderConfig |
String |
m_ClusterGroupMember |
HashMap<String,Properties> |
m_ClusterMembersProperties |
String |
m_ClusterName |
String |
m_ClusterSchemaName |
JSpaceAttributes |
m_DCacheAttributes
Deprecated.
No longer in the cluster policy. Included in a space configuration. In order to
get the attributes use: ((JSpaceAttributes)JProperties.getSpaceProperties(getServiceName())).getDCacheProperties().
|
String |
m_DCacheConfigName
Deprecated.
No longer in the cluster policy. Included in a space configuration. In order to
get the configuration name use: ((JSpaceAttributes)JProperties.getSpaceProperties(getServiceName())).getDCacheConfigName().
|
FailOverPolicy |
m_FailOverPolicy |
LoadBalancingPolicy |
m_LoadBalancingPolicy |
boolean |
m_NotifyRecovery |
boolean |
m_Replicated |
List<ReplicationPolicy> |
m_ReplicationGroups |
ReplicationPolicy |
m_ReplicationPolicy |
Constructor and Description |
---|
ClusterPolicy() |
Modifier and Type | Method and Description |
---|---|
int |
getNumOfPartitions() |
ReplicationPolicy |
getReplicationPolicy() |
boolean |
isActiveActive() |
boolean |
isFailbackEnabled() |
boolean |
isPersistentStartupEnabled() |
boolean |
isPrimaryElectionAvailable() |
boolean |
isReplicated() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public String m_ClusterSchemaName
public String m_ClusterName
public boolean m_NotifyRecovery
public ClusterPolicy.CacheLoaderConfig m_CacheLoaderConfig
public String m_ClusterGroupMember
public boolean m_Replicated
public ReplicationPolicy m_ReplicationPolicy
public FailOverPolicy m_FailOverPolicy
public LoadBalancingPolicy m_LoadBalancingPolicy
public List<ReplicationPolicy> m_ReplicationGroups
public HashMap<String,Properties> m_ClusterMembersProperties
@Deprecated public JSpaceAttributes m_DCacheAttributes
@Deprecated public String m_DCacheConfigName
public boolean isPersistentStartupEnabled()
public boolean isFailbackEnabled()
public boolean isReplicated()
public ReplicationPolicy getReplicationPolicy()
public boolean isPrimaryElectionAvailable()
public boolean isActiveActive()
public int getNumOfPartitions()
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.