Package org.openspaces.admin.space
Class ReplicationTarget
java.lang.Object
org.openspaces.admin.space.ReplicationTarget
Represents a replication target from one
SpaceInstance to the
other.- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionReplicationTarget(InternalSpaceInstance spaceInstance, ReplicationStatus replicationStatus, String memberName, ReplicationTargetType targetType) -
Method Summary
Modifier and TypeMethodDescriptionReturns the member name of this target.Returns the replication status.Returns the space instance that will be replicated to.booleanisMirror()Deprecated.
-
Constructor Details
-
ReplicationTarget
public ReplicationTarget(InternalSpaceInstance spaceInstance, ReplicationStatus replicationStatus, String memberName, ReplicationTargetType targetType)
-
-
Method Details
-
getSpaceInstance
Returns the space instance that will be replicated to. Can benullif replication is disabled/disconnected or the replication target is not a space (ReplicationTargetType.GATEWAY). -
getReplicationStatus
Returns the replication status. -
getMemberName
Returns the member name of this target. -
isMirror
Deprecated.Since 8.0.3 - usegetTargetType()instead.- Returns:
- true if target is a Mirror Space.
-
getTargetType
- Returns:
- the target type
- Since:
- 8.0.3
-
getTargetType()instead.