Class NoOpEngine

All Implemented Interfaces:
Closeable, AutoCloseable

public final class NoOpEngine extends ReadOnlyEngine
NoOpEngine is an engine implementation that does nothing but the bare minimum required in order to have an engine. All attempts to do something (search, index, get), throw UnsupportedOperationException. However, NoOpEngine allows to trim any existing translog files through the usage of the {trimUnreferencedTranslogFiles()} method.