Package org.dizitart.no2.common.module
Interface NitritePlugin
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
EntityConverter<T>,NitriteIndexer,NitriteMapper,NitriteStore<Config>
- All Known Implementing Classes:
AbstractNitriteStore,SimpleNitriteMapper
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 TypeMethodDescriptiondefault voidclose()Closes the plugin instance.voidinitialize(NitriteConfig nitriteConfig) Initializes the plugin instance.
-
Method Details
-
initialize
Initializes the plugin instance.- Parameters:
nitriteConfig- the nitrite config
-
close
default void close()Closes the plugin instance.- Specified by:
closein interfaceAutoCloseable
-