Class LevelDBLog

java.lang.Object
org.jgroups.protocols.raft.FileBasedLog
org.jgroups.protocols.raft.LevelDBLog
All Implemented Interfaces:
Closeable, AutoCloseable, Log

@Deprecated(since="1.1.0", forRemoval=true) public class LevelDBLog extends FileBasedLog
Deprecated, for removal: This API element is subject to removal in a future version.
Delegates to FileBasedLog.
Legacy implementation of Log which was using LevelDB JNI preserved for compatibility. Implementation simply delegated to FileBasedLog.
Author:
Ugo Landini
  • Field Details

    • LOG

      protected final org.jgroups.logging.Log LOG
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • LevelDBLog

      public LevelDBLog()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • init

      public void init(String log_name, Map<String,String> args) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Log
      Called after the instance has been created
      Specified by:
      init in interface Log
      Overrides:
      init in class FileBasedLog
      Parameters:
      log_name - The name of the log. Implementations can create a DB or file named after this, e.g. /tmp/<log_name></log_name>.log
      args - A hashmap of configuration information (impl-dependent) to configure itself. May be null
      Throws:
      Exception