Versions Compared

Key

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

Table of Contents

Status

Current state: Under Discussion Accepted

Discussion thread: here

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-8324

PR: #6697

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

Code Block
languagejava
titleRocksDBConfigSetter
public interface RocksDBConfigSetter {

	/**
	     * This method will be called when athe store is closed, and should call #close() onbe used to close any newuser-constructed objects
   constructed in #setConfig* that inherit extend RocksObject
	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

...