GigaSpaces XAP 10.0.1 API

com.j_spaces.core.cluster
Class ReplicationPolicy.ReplicationPolicyDescription

java.lang.Object
  extended by 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

Field Summary
 boolean activeWhenBackup
           
 String inputReplicationFilterClassName
           
 String inputReplicationFilterParamUrl
           
 boolean memberRecovery
           
 String outputReplicationFilterClassName
           
 String outputReplicationFilterParamUrl
           
 List<com.gigaspaces.cluster.replication.ReplicationTransmissionPolicy> replTransmissionPolicies
           
 boolean shutdownSpaceOnInitFailure
           
 String sourceMemberRecovery
           
 
Constructor Summary
ReplicationPolicy.ReplicationPolicyDescription()
           
 
Method Summary
 com.gigaspaces.cluster.replication.ReplicationTransmissionPolicy getTargetTransmissionMatrix(String targetMember)
          Extracts the transmission policy from this source to the requested target.
 void readExternal(ObjectInput in)
           
 String toString()
           
 boolean transmissionPolicyDefined()
          If transmission policy was defined in cluster xml, then true is returned; otherwise false indicating that there is no transmission policy.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ReplicationPolicy.ReplicationPolicyDescription

public ReplicationPolicy.ReplicationPolicyDescription()
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.