Package com.gigaspaces.internal.server.space.redolog.storage
package com.gigaspaces.internal.server.space.redolog.storage
-
ClassDescriptionWraps a
IRedoLogFileStoragewith a buffer, allowing adding single packets in the storage which will be flushed once a specific buffer size is reachedWraps aINonBatchRedoLogFileStoragewith a cache that keeps a constant size number of packets in memory which were the last appended packet.Supports single serializer and single deserializerExtends theIRedoLogFileStorageinterface by adding a non batch behavior of adding packets to the end of the list.IRedoLogFileStorage<T extends IReplicationOrderedPacket>Provide an external storage for a redo log file, Packets are stored as a single list, adding packets are always appended at the end of the list, and removal of packets are always from the start of the list 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 An exception isIRedoLogFileStorage.size()method which should not assume a reader lock is held.Provide statistics of aIRedoLogFileStorageSqliteStorageLayer<T extends IReplicationOrderedPacket>Thrown when an error occurred at theIRedoLogFileStorageThrown when attemp to add data to a full storageAn iterator which support read only operation over aIRedoLogFileStorage