Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleRocksDBConfigSetter
public interface RocksDBConfigSetter {

	/**
	     * This method will be called when athe store is closed, and should be callused #close()to onclose any newuser-constructed objects
   constructed in #setConfig* that extend RocksObject
	inherit from RocksObject. Any such object created with new in setConfig should have close called on it
     * here to avoid leaking off-heap memory.
     * Objects to be closed can be saved by the user or retrieved back from options using its getter methods.
     *
     * Example objects needing to be closed include Filter and Cache
     *
     * @param storeName     the name of the store being configured
     * @param options       the Rocks DB options
\    */
	publicdefault void close();
}


Proposed Changes

...