Class IndexedDiskCacheAttributes

All Implemented Interfaces:
Serializable, Cloneable, AuxiliaryCacheAttributes, IDiskCacheAttributes

Configuration class for the Indexed Disk Cache
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getMaxKeySize

      public int getMaxKeySize()
      Gets the maxKeySize attribute of the DiskCacheAttributes object

      Returns:
      The maxKeySize value
    • setMaxKeySize

      public void setMaxKeySize(int maxKeySize)
      Sets the maxKeySize attribute of the DiskCacheAttributes object

      Parameters:
      maxKeySize - The new maxKeySize value
    • getOptimizeAtRemoveCount

      Gets the optimizeAtRemoveCount attribute of the DiskCacheAttributes object

      Returns:
      The optimizeAtRemoveCount value
    • setOptimizeAtRemoveCount

      public void setOptimizeAtRemoveCount(int cnt)
      Sets the optimizeAtRemoveCount attribute of the DiskCacheAttributes object This number determines how often the disk cache should run real time optimizations.

      Parameters:
      cnt - The new optimizeAtRemoveCount value
    • setOptimizeOnShutdown

      public void setOptimizeOnShutdown(boolean optimizeOnShutdown)
      Parameters:
      optimizeOnShutdown - The optimizeOnShutdown to set.
    • isOptimizeOnShutdown

      public boolean isOptimizeOnShutdown()
      Returns:
      Returns the optimizeOnShutdown.
    • setClearDiskOnStartup

      public void setClearDiskOnStartup(boolean clearDiskOnStartup)
      Parameters:
      clearDiskOnStartup - the clearDiskOnStartup to set
    • isClearDiskOnStartup

      public boolean isClearDiskOnStartup()
      Returns:
      the clearDiskOnStartup
    • toString

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

      Overrides:
      toString in class AbstractDiskCacheAttributes
      Returns:
      String