Class DirectPersistencySyncHandler
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.directPersistency.DirectPersistencySyncHandler
- All Implemented Interfaces:
IDirectPersistencySyncHandler
The synchronizing direct-persistency handler
- Since:
- 10.2
- Author:
- yechielf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidafterInsertingToRedolog(IReplicationOutContext context, long redoKey) voidvoidbooleanvoidbeforeDirectPersistencyOp(IReplicationOutContext replContext, IEntryHolder entryHolder, boolean phantom) voidbeforeDirectPersistencyOp(IReplicationOutContext replContext, List<String> uids, Set<String> phantoms, Map<String, IEntryHolder> entryHolderMap) voidclose()longlongorg.slf4j.LoggervoidbooleanbooleanvoidvoidonEmbeddedListRecordTransferStart(IDirectPersistencyOpInfo o, boolean onlyIfNotExists) voidonEmbeddedOpFromInitialLoad(String uid, long gen, long seq, boolean phantom) voidonEmbeddedOpFromInitialLoad(List<String> uids, long gen, long seq, Set<String> phantoms) voidsetBackLog(IReplicationGroupBacklog backlog) voidsetLastConfirmed(long confirmed)
-
Constructor Details
-
DirectPersistencySyncHandler
-
-
Method Details
-
initialize
public void initialize()- Specified by:
initializein interfaceIDirectPersistencySyncHandler
-
afterInitializedBlobStoreIO
- Specified by:
afterInitializedBlobStoreIOin interfaceIDirectPersistencySyncHandler
-
getCurrentGenerationId
public long getCurrentGenerationId()- Specified by:
getCurrentGenerationIdin interfaceIDirectPersistencySyncHandler
-
isOverflow
public boolean isOverflow()- Specified by:
isOverflowin interfaceIDirectPersistencySyncHandler
-
beforeDirectPersistencyOp
public void beforeDirectPersistencyOp(IReplicationOutContext replContext, IEntryHolder entryHolder, boolean phantom) - Specified by:
beforeDirectPersistencyOpin interfaceIDirectPersistencySyncHandler
-
beforeDirectPersistencyOp
public void beforeDirectPersistencyOp(IReplicationOutContext replContext, List<String> uids, Set<String> phantoms, Map<String, IEntryHolder> entryHolderMap) - Specified by:
beforeDirectPersistencyOpin interfaceIDirectPersistencySyncHandler
-
onEmbeddedOpFromInitialLoad
- Specified by:
onEmbeddedOpFromInitialLoadin interfaceIDirectPersistencySyncHandler
-
onEmbeddedOpFromInitialLoad
public void onEmbeddedOpFromInitialLoad(List<String> uids, long gen, long seq, Set<String> phantoms) - Specified by:
onEmbeddedOpFromInitialLoadin interfaceIDirectPersistencySyncHandler
-
onEmbeddedListRecordTransferStart
- Specified by:
onEmbeddedListRecordTransferStartin interfaceIDirectPersistencySyncHandler
-
onEmbeddedListRecordTransferEnd
- Specified by:
onEmbeddedListRecordTransferEndin interfaceIDirectPersistencySyncHandler
-
getEntriesForRecovery
- Specified by:
getEntriesForRecoveryin interfaceIDirectPersistencySyncHandler
-
afterRecovery
public void afterRecovery()- Specified by:
afterRecoveryin interfaceIDirectPersistencySyncHandler
-
afterInsertingToRedolog
- Specified by:
afterInsertingToRedologin interfaceIDirectPersistencySyncHandler
-
afterOperationPersisted
- Specified by:
afterOperationPersistedin interfaceIDirectPersistencySyncHandler
-
setBackLog
- Specified by:
setBackLogin interfaceIDirectPersistencySyncHandler
-
getBackLog
- Specified by:
getBackLogin interfaceIDirectPersistencySyncHandler
-
getLogger
public org.slf4j.Logger getLogger() -
getListHandler
- Specified by:
getListHandlerin interfaceIDirectPersistencySyncHandler
-
getLastConfirmed
public long getLastConfirmed()- Specified by:
getLastConfirmedin interfaceIDirectPersistencySyncHandler
-
setLastConfirmed
public void setLastConfirmed(long confirmed) - Specified by:
setLastConfirmedin interfaceIDirectPersistencySyncHandler
-
getReadLock
-
afterRecoveryStarted
public boolean afterRecoveryStarted() -
close
public void close()- Specified by:
closein interfaceIDirectPersistencySyncHandler
-
getSpaceEngine
- Specified by:
getSpaceEnginein interfaceIDirectPersistencySyncHandler
-
isEmbeddedListUsed
public boolean isEmbeddedListUsed()- Specified by:
isEmbeddedListUsedin interfaceIDirectPersistencySyncHandler
-
getEmbeddedSyncHandler
- Specified by:
getEmbeddedSyncHandlerin interfaceIDirectPersistencySyncHandler
-