com.j_spaces.core.cluster
Class ReplicationPolicy.ReplicationPolicyDescription
java.lang.Object
com.j_spaces.core.cluster.ReplicationPolicy.ReplicationPolicyDescription
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- ReplicationPolicy
public static class ReplicationPolicy.ReplicationPolicyDescription
- extends Object
- implements Externalizable
Replication policy description for every member.
- See Also:
- Serialized Form
replTransmissionPolicies
public List<com.gigaspaces.cluster.replication.ReplicationTransmissionPolicy> replTransmissionPolicies
sourceMemberRecovery
public String sourceMemberRecovery
memberRecovery
public boolean memberRecovery
inputReplicationFilterClassName
public String inputReplicationFilterClassName
inputReplicationFilterParamUrl
public String inputReplicationFilterParamUrl
outputReplicationFilterClassName
public String outputReplicationFilterClassName
outputReplicationFilterParamUrl
public String outputReplicationFilterParamUrl
activeWhenBackup
public boolean activeWhenBackup
shutdownSpaceOnInitFailure
public boolean shutdownSpaceOnInitFailure
ReplicationPolicy.ReplicationPolicyDescription
public ReplicationPolicy.ReplicationPolicyDescription()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
getTargetTransmissionMatrix
public com.gigaspaces.cluster.replication.ReplicationTransmissionPolicy getTargetTransmissionMatrix(String targetMember)
- Extracts the transmission policy from this source to the requested
target. Note the ambiguity: returns null if no transmission policy
is defined or if the parameter is not a replicated target by this
source member.
- Parameters:
targetMember
- the replicated target to extract the
transmission policy for.
- Returns:
- null if not a replicated target from this source or if no
transmission policy defined.
transmissionPolicyDefined
public boolean transmissionPolicyDefined()
- If transmission policy was defined in cluster xml, then
true
is returned;
otherwise false
indicating that there is no transmission policy.
- Returns:
true
if transmission policy was defined; false
otherwise.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.