Class RocksDBConfig

    • Method Detail

      • addStoreEventListener

        public void addStoreEventListener​(StoreEventListener listener)
        Adds a store event listener to the configuration.
        Specified by:
        addStoreEventListener in interface StoreConfig
        Parameters:
        listener - the store event listener to add
      • isInMemory

        public final boolean isInMemory()
        Returns whether the RocksDB instance is in memory or not.
        Specified by:
        isInMemory in interface StoreConfig
        Returns:
        true if the RocksDB instance is in memory; false otherwise.
      • eventListeners

        public Set<StoreEventListener> eventListeners()
        The set of event listeners registered with this configuration.
      • options

        public org.rocksdb.Options options()
        The RocksDB Options used to configure the database instance.
      • dbOptions

        public org.rocksdb.DBOptions dbOptions()
        The RocksDB DBOptions used to configure the database instance.
      • columnFamilyOptions

        public org.rocksdb.ColumnFamilyOptions columnFamilyOptions()
        The RocksDB ColumnFamilyOptions used to configure the database instance.
      • filePath

        public String filePath()
        The file path of the RocksDB data store.
        Specified by:
        filePath in interface StoreConfig
      • objectFormatter

        public ObjectFormatter objectFormatter()
        The object formatter used to serialize and deserialize objects.