Interface NitritePlugin

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
EntityConverter<T>, NitriteIndexer, NitriteMapper, NitriteStore<Config>
All Known Implementing Classes:
AbstractNitriteStore, SimpleNitriteMapper

public interface NitritePlugin extends AutoCloseable
Represents a plugin for working with Nitrite database and provides methods for initializing and closing the plugin.
Since:
4.0
Author:
Anindya Chatterjee.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Closes the plugin instance.
    void
    initialize(NitriteConfig nitriteConfig)
    Initializes the plugin instance.
  • Method Details

    • initialize

      void initialize(NitriteConfig nitriteConfig)
      Initializes the plugin instance.
      Parameters:
      nitriteConfig - the nitrite config
    • close

      default void close()
      Closes the plugin instance.
      Specified by:
      close in interface AutoCloseable