public class ReplicationTarget extends Object
SpaceInstance
to the
other.Constructor and Description |
---|
ReplicationTarget(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.
|
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(InternalSpaceInstance spaceInstance, ReplicationStatus replicationStatus, String memberName, ReplicationTargetType targetType)
public 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.