public class DirectPersistencySyncHandler extends Object implements IDirectPersistencySyncHandler
Constructor and Description |
---|
DirectPersistencySyncHandler(SpaceEngine engine) |
public DirectPersistencySyncHandler(SpaceEngine engine)
public void initialize()
initialize
in interface IDirectPersistencySyncHandler
public void afterInitializedBlobStoreIO(IDirectPersistencyIoHandler ioHandler)
afterInitializedBlobStoreIO
in interface IDirectPersistencySyncHandler
public long getCurrentGenerationId()
getCurrentGenerationId
in interface IDirectPersistencySyncHandler
public boolean isOverflow()
isOverflow
in interface IDirectPersistencySyncHandler
public void beforeDirectPersistencyOp(IReplicationOutContext replContext, IEntryHolder entryHolder, boolean phantom)
beforeDirectPersistencyOp
in interface IDirectPersistencySyncHandler
public void beforeDirectPersistencyOp(IReplicationOutContext replContext, List<String> uids, Set<String> phantoms, Map<String,IEntryHolder> entryHolderMap)
beforeDirectPersistencyOp
in interface IDirectPersistencySyncHandler
public void onEmbeddedOpFromInitialLoad(String uid, long gen, long seq, boolean phantom)
onEmbeddedOpFromInitialLoad
in interface IDirectPersistencySyncHandler
public void onEmbeddedOpFromInitialLoad(List<String> uids, long gen, long seq, Set<String> phantoms)
onEmbeddedOpFromInitialLoad
in interface IDirectPersistencySyncHandler
public void onEmbeddedListRecordTransferStart(IDirectPersistencyOpInfo o, boolean onlyIfNotExists)
onEmbeddedListRecordTransferStart
in interface IDirectPersistencySyncHandler
public void onEmbeddedListRecordTransferEnd(IDirectPersistencyOpInfo o)
onEmbeddedListRecordTransferEnd
in interface IDirectPersistencySyncHandler
public Iterator<String> getEntriesForRecovery()
getEntriesForRecovery
in interface IDirectPersistencySyncHandler
public void afterRecovery()
afterRecovery
in interface IDirectPersistencySyncHandler
public void afterInsertingToRedolog(IReplicationOutContext context, long redoKey)
afterInsertingToRedolog
in interface IDirectPersistencySyncHandler
public void afterOperationPersisted(IDirectPersistencyOpInfo e)
afterOperationPersisted
in interface IDirectPersistencySyncHandler
public void setBackLog(IReplicationGroupBacklog backlog)
setBackLog
in interface IDirectPersistencySyncHandler
public IReplicationGroupBacklog getBackLog()
getBackLog
in interface IDirectPersistencySyncHandler
public Logger getLogger()
public DirectPersistencyListHandler getListHandler()
getListHandler
in interface IDirectPersistencySyncHandler
public long getLastConfirmed()
getLastConfirmed
in interface IDirectPersistencySyncHandler
public void setLastConfirmed(long confirmed)
setLastConfirmed
in interface IDirectPersistencySyncHandler
public Lock getReadLock()
public boolean afterRecoveryStarted()
public void close()
close
in interface IDirectPersistencySyncHandler
public SpaceEngine getSpaceEngine()
getSpaceEngine
in interface IDirectPersistencySyncHandler
public boolean isEmbeddedListUsed()
isEmbeddedListUsed
in interface IDirectPersistencySyncHandler
public EmbeddedSyncHandler getEmbeddedSyncHandler()
getEmbeddedSyncHandler
in interface IDirectPersistencySyncHandler
Copyright © GigaSpaces.