Package com.j_spaces.core.cluster
Class ClusterPolicy
java.lang.Object
com.j_spaces.core.cluster.ClusterPolicy
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
Holds the cluster policy data. This API will not be available in future versions
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.No longer in the cluster policy.Deprecated.No longer in the cluster policy.booleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanbooleanbooleanbooleanvoidtoString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
m_ClusterSchemaName
-
m_ClusterName
-
m_NotifyRecovery
public boolean m_NotifyRecovery -
m_CacheLoaderConfig
-
m_ClusterGroupMember
-
m_Replicated
public boolean m_Replicated -
m_ReplicationPolicy
-
m_FailOverPolicy
-
m_LoadBalancingPolicy
-
m_ReplicationGroups
-
m_AllClusterMemberList
-
m_ClusterMembersProperties
-
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().DCache configuration. -
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().DCache configuration name.
-
-
Constructor Details
-
ClusterPolicy
public ClusterPolicy()
-
-
Method Details
-
toString
-
isPersistentStartupEnabled
public boolean isPersistentStartupEnabled() -
isFailbackEnabled
public boolean isFailbackEnabled() -
isReplicated
public boolean isReplicated() -
getReplicationPolicy
-
isPrimaryElectionAvailable
public boolean isPrimaryElectionAvailable() -
isActiveActive
public boolean isActiveActive() -
getNumOfPartitions
public int getNumOfPartitions() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-