public interface INonBatchRedoLogFileStorage<T extends IReplicationOrderedPacket> extends IRedoLogFileStorage<T>
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 typeModifier and Type | Method and Description |
---|---|
void |
append(T replicationPacket)
Add a single packet to the end of the storage list
|
appendBatch, close, deleteOldestPackets, getCacheWeight, getDiscardedPacketsCount, getOldest, getWeight, isEmpty, performCompaction, readOnlyIterator, removeFirstBatch, removeOldest, size, validateIntegrity
getExternalPacketsCount, getExternalStoragePacketsWeight, getMemoryPacketsCount, getMemoryPacketsWeight, getSpaceUsed
void append(T replicationPacket) throws StorageException, StorageFullException
StorageException
StorageFullException
Copyright © GigaSpaces.