Class BlockDiskCacheAttributes

All Implemented Interfaces:
Serializable, Cloneable, AuxiliaryCacheAttributes, IDiskCacheAttributes

This holds attributes for Block Disk Cache configuration.
See Also:
  • Constructor Details

  • Method Details

    • setBlockSizeBytes

      public void setBlockSizeBytes(int blockSizeBytes)
      The size of the blocks. All blocks are the same size.

      Parameters:
      blockSizeBytes - The blockSizeBytes to set.
    • getBlockSizeBytes

      public int getBlockSizeBytes()
      Returns:
      Returns the blockSizeBytes.
    • setMaxKeySize

      public void setMaxKeySize(int maxKeySize)
      Parameters:
      maxKeySize - The maxKeySize to set.
    • getMaxKeySize

      public int getMaxKeySize()
      Returns:
      Returns the maxKeySize.
    • setKeyPersistenceIntervalSeconds

      public void setKeyPersistenceIntervalSeconds(long keyPersistenceIntervalSeconds)
      Parameters:
      keyPersistenceIntervalSeconds - The keyPersistenceIntervalSeconds to set.
    • getKeyPersistenceIntervalSeconds

      Returns:
      Returns the keyPersistenceIntervalSeconds.
    • toString

      public String toString()
      Write out the values for debugging purposes.

      Overrides:
      toString in class AbstractDiskCacheAttributes
      Returns:
      String