Class BackupSpaceRecovery
java.lang.Object
com.gigaspaces.internal.server.space.recovery.strategy.BackupSpaceRecovery
- All Implemented Interfaces:
SpaceRecoverStrategy
- Direct Known Subclasses:
AllInCacheCentralDBBackupSpaceRecovery,LRUCentralDBBackupSpaceRecovery,NonCentralDBBackupSpaceRecovery
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrecover()protected ISpaceSynchronizeReplicaStateRecover all the data from primary spaceabstract voidabstract ISpaceSynchronizeReplicaStateprotected ISpaceSynchronizeReplicaStaterecoverFromPrimary(boolean transientOnly, boolean memoryOnly) Recover only from primary in failover group.protected ISpaceSynchronizeReplicaStateprotected ISpaceSynchronizeReplicaStateRecover transient data from primary space
-
Field Details
-
_space
-
-
Constructor Details
-
BackupSpaceRecovery
- Parameters:
recoveryManager-
-
-
Method Details
-
recover
- Specified by:
recoverin interfaceSpaceRecoverStrategy- Throws:
Exception
-
recoverAllFromPrimary
Recover all the data from primary space- Throws:
Exception
-
recoverTransientFromPrimary
Recover transient data from primary space- Throws:
Exception
-
recoverFromPrimaryMemoryOnly
- Throws:
Exception
-
recoverFromPrimary
protected ISpaceSynchronizeReplicaState recoverFromPrimary(boolean transientOnly, boolean memoryOnly) throws Exception Recover only from primary in failover group. if primary election is used, only primaries are considered valid targets.- Parameters:
memoryOnly- TODO- Throws:
Exception
-
recoverFromDB
- Specified by:
recoverFromDBin interfaceSpaceRecoverStrategy- Throws:
Exception
-
recoverFromOtherSpace
- Specified by:
recoverFromOtherSpacein interfaceSpaceRecoverStrategy- Throws:
Exception
-