public class DefaultSpaceReplicationManager extends Object implements SpaceReplicationManager
Constructor and Description |
---|
DefaultSpaceReplicationManager(DefaultSpace defaultSpace) |
Modifier and Type | Method and Description |
---|---|
void |
addGatewayTarget(GatewayTarget gatewayTarget)
Adds a new gateway target to the
Space this manager manages, will wait until the
gateway target is added in all of the SpaceInstance s that belong to this space. |
void |
addGatewayTarget(GatewayTarget gatewayTarget,
boolean resetTarget)
Adds a new gateway target to the
Space this manager manages, will wait until the
gateway target is added in all of the SpaceInstance s that belong to this space. |
void |
removeGatewayTarget(String gatewayTargetName)
Removes an existing gateway target from the
Space this manager manages, will wait
until the gateway target is removed from all of the SpaceInstance s that belong to
this space. |
public DefaultSpaceReplicationManager(DefaultSpace defaultSpace)
public void addGatewayTarget(GatewayTarget gatewayTarget)
SpaceReplicationManager
Space
this manager manages, will wait until the
gateway target is added in all of the SpaceInstance
s that belong to this space.addGatewayTarget
in interface SpaceReplicationManager
public void addGatewayTarget(GatewayTarget gatewayTarget, boolean resetTarget)
SpaceReplicationManager
Space
this manager manages, will wait until the
gateway target is added in all of the SpaceInstance
s that belong to this space.addGatewayTarget
in interface SpaceReplicationManager
resetTarget
- - If resetTarget is set to true the replication state of the target will clearedpublic void removeGatewayTarget(String gatewayTargetName)
SpaceReplicationManager
Space
this manager manages, will wait
until the gateway target is removed from all of the SpaceInstance
s that belong to
this space.removeGatewayTarget
in interface SpaceReplicationManager
Copyright © GigaSpaces.