public abstract class BackupSpaceRecovery extends Object implements SpaceRecoverStrategy
Constructor and Description |
---|
BackupSpaceRecovery(SpaceImpl space) |
Modifier and Type | Method and Description |
---|---|
ISpaceSynchronizeReplicaState |
recover() |
protected ISpaceSynchronizeReplicaState |
recoverAllFromPrimary()
Recover all the data from primary space
|
abstract void |
recoverFromDB() |
abstract ISpaceSynchronizeReplicaState |
recoverFromOtherSpace() |
protected ISpaceSynchronizeReplicaState |
recoverFromPrimary(boolean transientOnly,
boolean memoryOnly)
Recover only from primary in failover group.
|
protected ISpaceSynchronizeReplicaState |
recoverFromPrimaryMemoryOnly() |
protected ISpaceSynchronizeReplicaState |
recoverTransientFromPrimary()
Recover transient data from primary space
|
protected final SpaceImpl _space
public BackupSpaceRecovery(SpaceImpl space)
recoveryManager
- public ISpaceSynchronizeReplicaState recover() throws Exception
recover
in interface SpaceRecoverStrategy
Exception
protected ISpaceSynchronizeReplicaState recoverAllFromPrimary() throws Exception
Exception
protected ISpaceSynchronizeReplicaState recoverTransientFromPrimary() throws Exception
Exception
protected ISpaceSynchronizeReplicaState recoverFromPrimaryMemoryOnly() throws Exception
Exception
protected ISpaceSynchronizeReplicaState recoverFromPrimary(boolean transientOnly, boolean memoryOnly) throws Exception
memoryOnly
- TODOException
public abstract void recoverFromDB() throws Exception
recoverFromDB
in interface SpaceRecoverStrategy
Exception
public abstract ISpaceSynchronizeReplicaState recoverFromOtherSpace() throws Exception
recoverFromOtherSpace
in interface SpaceRecoverStrategy
Exception
Copyright © GigaSpaces.