Class DBSwapRedoLogFileConfig<T extends IReplicationOrderedPacket>

java.lang.Object
com.gigaspaces.internal.server.space.redolog.DBSwapRedoLogFileConfig<T>

public class DBSwapRedoLogFileConfig<T extends IReplicationOrderedPacket> extends Object
Since:
16.2
  • Constructor Details

    • DBSwapRedoLogFileConfig

      public DBSwapRedoLogFileConfig(String spaceName, String containerName, int memoryPacketCapacity)
  • Method Details

    • getSpaceName

      public String getSpaceName()
    • getContainerName

      public String getContainerName()
    • getMemoryPacketCapacity

      public int getMemoryPacketCapacity()
    • setFlushBufferPacketCount

      public void setFlushBufferPacketCount(int flushBufferPacketCount)
    • getPacketStreamSerializer

      public IPacketStreamSerializer<T> getPacketStreamSerializer()
    • setPacketStreamSerializer

      public void setPacketStreamSerializer(IPacketStreamSerializer<T> packetStreamSerializer)
    • getFlushBufferPacketCount

      public int getFlushBufferPacketCount()
    • setKeepDatabaseFile

      public void setKeepDatabaseFile(boolean keepDatabaseFile)
    • shouldKeepDatabaseFile

      public boolean shouldKeepDatabaseFile()
    • setBacklogWeightPolicy

      public void setBacklogWeightPolicy(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. 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 as ByteBufferRedoLogFileStorage's no-policy constructor.
    • getBacklogWeightPolicy

      public BacklogWeightPolicy getBacklogWeightPolicy()
    • toString

      public String toString()
      Overrides:
      toString in class Object