Interface INonBatchRedoLogFileStorage<T extends IReplicationOrderedPacket>
- All Superinterfaces:
IRedoLogFileStorage<T>, IRedoLogFileStorageStatistics
- All Known Implementing Classes:
BufferedRedoLogFileStorageDecorator, CacheLastRedoLogFileStorageDecorator
public interface INonBatchRedoLogFileStorage<T extends IReplicationOrderedPacket>
extends IRedoLogFileStorage<T>
Extends the
IRedoLogFileStorage interface by adding a non batch behavior of adding
packets to the end of the list.
This is used in order to allow the ability to decorate a storage with the ability to store only
one packet which will be used for buffering of packets addition without the need to actually
support a single packet addition it in the storage provider
Implementor should support concurrent readers or a single writer, in other words, the implementor
can assume access to this structure are guarded with a reader writer lock according to the
operation type- Since:
- 7.1
- Author:
- eitany
-
Method Summary
Methods inherited from interface IRedoLogFileStorage
appendBatch, close, deleteOldestPackets, getCacheWeight, getDiscardedPacketsCount, getOldest, getOldestKey, getWeight, isEmpty, performCompaction, readOnlyIterator, removeFirstBatch, removeOldest, size, validateIntegrityMethods inherited from interface IRedoLogFileStorageStatistics
getExternalPacketsCount, getExternalStoragePacketsWeight, getMemoryPacketsCount, getMemoryPacketsWeight, getSpaceUsed
-
Method Details
-
append
Add a single packet to the end of the storage list- Throws:
StorageExceptionStorageFullException
-