Class MVStoreConfig

  • All Implemented Interfaces:
    StoreConfig

    public class MVStoreConfig
    extends Object
    implements StoreConfig
    Configuration class for MVStore.
    Since:
    4.0
    Author:
    Anindya Chatterjee
    • Method Detail

      • clone

        public MVStoreConfig clone()
        Creates and returns a copy of this object.
        Returns:
        a clone of this instance.
      • eventListeners

        public Set<StoreEventListener> eventListeners()
        The set of event listeners for the MVStore.
      • autoCommitBufferSize

        public int autoCommitBufferSize()
        The size of the buffer used for auto-commit operations.
      • encryptionKey

        public char[] encryptionKey()
        The encryption key to be used for encrypting and decrypting the data.
      • isReadOnly

        public Boolean isReadOnly()
        A flag indicating whether the MVStore should be opened in read-only mode.
        Specified by:
        isReadOnly in interface StoreConfig
      • compress

        public boolean compress()
        Indicates whether the MVStore should compress data or not.
      • compressHigh

        public boolean compressHigh()
        Indicates whether to use high compression for data blocks.
      • autoCommit

        public boolean autoCommit()
        Indicates whether auto-commit mode is enabled for the MVStore.
      • autoCompact

        public boolean autoCompact()
        Sets a value indicating whether the MVStore should automatically compact itself when it is closed.
      • recoveryMode

        public boolean recoveryMode()
        Indicates whether the MVStore should be opened in recovery mode or not.
      • cacheSize

        public int cacheSize()
        The size of the cache (in KB) used by the MVStore.
      • cacheConcurrency

        public int cacheConcurrency()
        The number of threads that can concurrently access the MVStore cache.
      • pageSplitSize

        public int pageSplitSize()
        Sets the page split size for the MVStore.
      • fileStore

        public org.h2.mvstore.FileStore<?> fileStore()
        The file store used by the MVStore.