Package org.opensearch.index.translog
Interface TranslogFactory
- All Known Implementing Classes:
InternalTranslogFactory
,RemoteBlobStoreInternalTranslogFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Translog Factory to enable creation of various local on-disk
and remote store flavors of
Translog
- Opensearch.api:
-
Method Summary
Modifier and TypeMethodDescriptionnewTranslog
(TranslogConfig config, String translogUUID, TranslogDeletionPolicy deletionPolicy, LongSupplier globalCheckpointSupplier, LongSupplier primaryTermSupplier, LongConsumer persistedSequenceNumberConsumer, BooleanSupplier startedPrimarySupplier)
-
Method Details
-
newTranslog
Translog newTranslog(TranslogConfig config, String translogUUID, TranslogDeletionPolicy deletionPolicy, LongSupplier globalCheckpointSupplier, LongSupplier primaryTermSupplier, LongConsumer persistedSequenceNumberConsumer, BooleanSupplier startedPrimarySupplier) throws IOException - Throws:
IOException
-