Module swim.db
Package swim.db

Class StoreSettings

  • All Implemented Interfaces:
    Debug

    public class StoreSettings
    extends Object
    implements Debug
    • Field Detail

      • pageSplitSize

        protected final int pageSplitSize
      • pageCacheSize

        protected final int pageCacheSize
      • minCommitSize

        protected final long minCommitSize
      • maxCommitSize

        protected final long maxCommitSize
      • minCommitInterval

        protected final long minCommitInterval
      • maxCommitTime

        protected final long maxCommitTime
      • minCompactSize

        protected final long minCompactSize
      • maxCompactSize

        protected final long maxCompactSize
      • maxCompactTime

        protected final long maxCompactTime
      • maxZoneSize

        protected final long maxZoneSize
      • minZoneFill

        protected final double minZoneFill
      • minTreeFill

        protected final double minTreeFill
      • maxRetries

        protected final int maxRetries
      • deleteDelay

        protected final int deleteDelay
    • Constructor Detail

      • StoreSettings

        public StoreSettings​(int pageSplitSize,
                             int pageCacheSize,
                             long minCommitSize,
                             long maxCommitSize,
                             long minCommitInterval,
                             long maxCommitTime,
                             long minCompactSize,
                             long maxCompactSize,
                             long maxCompactTime,
                             long maxZoneSize,
                             double minZoneFill,
                             double minTreeFill,
                             int maxRetries,
                             int deleteDelay)
    • Method Detail

      • pageSplitSize

        public final int pageSplitSize()
      • pageSplitSize

        public StoreSettings pageSplitSize​(int pageSplitSize)
      • pageCacheSize

        public final int pageCacheSize()
      • pageCacheSize

        public StoreSettings pageCacheSize​(int pageCacheSize)
      • minCommitSize

        public final long minCommitSize()
      • minCommitSize

        public StoreSettings minCommitSize​(long minCommitSize)
      • maxCommitSize

        public final long maxCommitSize()
      • maxCommitSize

        public StoreSettings maxCommitSize​(long maxCommitSize)
      • minCommitInterval

        public final long minCommitInterval()
      • minCommitInterval

        public StoreSettings minCommitInterval​(long minCommitInterval)
      • maxCommitTime

        public final long maxCommitTime()
      • maxCommitTime

        public StoreSettings maxCommitTime​(long maxCommitTime)
      • minCompactSize

        public final long minCompactSize()
      • minCompactSize

        public StoreSettings minCompactSize​(long minCompactSize)
      • maxCompactSize

        public final long maxCompactSize()
      • maxCompactSize

        public StoreSettings maxCompactSize​(long maxCompactSize)
      • maxCompactTime

        public final long maxCompactTime()
      • maxCompactTime

        public StoreSettings maxCompactTime​(long maxCompactTime)
      • maxZoneSize

        public final long maxZoneSize()
      • maxZoneSize

        public StoreSettings maxZoneSize​(long maxZoneSize)
      • minZoneFill

        public final double minZoneFill()
      • minZoneFill

        public StoreSettings minZoneFill​(double minZoneFill)
      • minTreeFill

        public final double minTreeFill()
      • minTreeFill

        public StoreSettings minTreeFill​(double minTreeFill)
      • maxRetries

        public final int maxRetries()
      • maxRetries

        public StoreSettings maxRetries​(int maxRetries)
      • deleteDelay

        public final int deleteDelay()
      • deleteDelay

        public StoreSettings deleteDelay​(int deleteDelay)
      • copy

        protected StoreSettings copy​(int pageSplitSize,
                                     int pageCacheSize,
                                     long minCommitSize,
                                     long maxCommitSize,
                                     long minCommitInterval,
                                     long maxCommitTime,
                                     long minCompactSize,
                                     long maxCompactSize,
                                     long maxCompactTime,
                                     long maxZoneSize,
                                     double minZoneFill,
                                     double minTreeFill,
                                     int maxRetries,
                                     int deleteDelay)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.