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
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()Closes the plugin instance.voidinitialize(NitriteConfig nitriteConfig)Initializes the plugin instance.
-
-
-
Method Detail
-
initialize
void initialize(NitriteConfig nitriteConfig)
Initializes the plugin instance.- Parameters:
nitriteConfig- the nitrite config
-
close
default void close()
Closes the plugin instance.- Specified by:
closein interfaceAutoCloseable
-
-