Class DBSwapRedoLogFileConfig<T extends IReplicationOrderedPacket>
java.lang.Object
com.gigaspaces.internal.server.space.redolog.DBSwapRedoLogFileConfig<T>
Configures a
DBSwapRedoLogFileConfig- Since:
- 16.2
-
Constructor Summary
ConstructorsConstructorDescriptionDBSwapRedoLogFileConfig(String spaceName, String containerName, int memoryPacketCapacity) -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetBacklogWeightPolicy(BacklogWeightPolicy backlogWeightPolicy) The policy the storage uses to recompute the weight of a packet it read back from disk - the weight itself is transient and does not survive serialization.voidsetFlushBufferPacketCount(int flushBufferPacketCount) voidsetKeepDatabaseFile(boolean keepDatabaseFile) voidsetPacketStreamSerializer(IPacketStreamSerializer<T> packetStreamSerializer) booleantoString()
-
Constructor Details
-
DBSwapRedoLogFileConfig
-
-
Method Details
-
getSpaceName
-
getContainerName
-
getMemoryPacketCapacity
public int getMemoryPacketCapacity() -
setFlushBufferPacketCount
public void setFlushBufferPacketCount(int flushBufferPacketCount) -
getPacketStreamSerializer
-
setPacketStreamSerializer
-
getFlushBufferPacketCount
public int getFlushBufferPacketCount() -
setKeepDatabaseFile
public void setKeepDatabaseFile(boolean keepDatabaseFile) -
shouldKeepDatabaseFile
public boolean shouldKeepDatabaseFile() -
setBacklogWeightPolicy
The policy the storage uses to recompute the weight of a packet it read back from disk - the weight itself is transient and does not survive serialization. May be left unset by callers that do not go through a backlog (tests, tools); the storage then falls back to the fixed policy, same asByteBufferRedoLogFileStorage's no-policy constructor. -
getBacklogWeightPolicy
-
toString
-