public class ReplicationTarget extends Object
SpaceInstance
to the
other.Constructor and Description |
---|
ReplicationTarget(org.openspaces.admin.internal.space.InternalSpaceInstance spaceInstance,
ReplicationStatus replicationStatus,
String memberName,
ReplicationTargetType targetType) |
Modifier and Type | Method and Description |
---|---|
String |
getMemberName()
Returns the member name of this target.
|
ReplicationStatus |
getReplicationStatus()
Returns the replication status.
|
org.openspaces.admin.internal.space.InternalSpaceInstance |
getSpaceInstance()
Returns the space instance that will be replicated to.
|
ReplicationTargetType |
getTargetType() |
boolean |
isMirror()
Deprecated.
Since 8.0.3 - use
getTargetType() instead. |
public ReplicationTarget(org.openspaces.admin.internal.space.InternalSpaceInstance spaceInstance, ReplicationStatus replicationStatus, String memberName, ReplicationTargetType targetType)
public org.openspaces.admin.internal.space.InternalSpaceInstance getSpaceInstance()
null
if replication is disabled/disconnected or the replication target is not a space (ReplicationTargetType.GATEWAY
).public ReplicationStatus getReplicationStatus()
public String getMemberName()
@Deprecated public boolean isMirror()
getTargetType()
instead.public ReplicationTargetType getTargetType()
Copyright © GigaSpaces.