Class OxiaMetadataStore
java.lang.Object
org.apache.pulsar.metadata.impl.AbstractMetadataStore
io.streamnative.pulsarmetadatastoreoxia.OxiaMetadataStore
- All Implemented Interfaces:
AutoCloseable,Consumer<org.apache.pulsar.metadata.api.Notification>,org.apache.pulsar.metadata.api.extended.MetadataStoreExtended,org.apache.pulsar.metadata.api.MetadataStore
public class OxiaMetadataStore
extends org.apache.pulsar.metadata.impl.AbstractMetadataStore
-
Field Summary
Fields inherited from class org.apache.pulsar.metadata.impl.AbstractMetadataStore
executor, isClosed, metadataStoreName -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected CompletableFuture<Boolean>existsFromStore(String path) protected CompletableFuture<List<String>>getChildrenFromStore(String path) Optional<org.apache.pulsar.metadata.api.MetadataEventSynchronizer>protected CompletableFuture<Void>storeDelete(String path, Optional<Long> expectedVersion) protected CompletableFuture<Optional<org.apache.pulsar.metadata.api.GetResult>>protected CompletableFuture<org.apache.pulsar.metadata.api.Stat>storePut(String path, byte[] data, Optional<Long> optExpectedVersion, EnumSet<org.apache.pulsar.metadata.api.extended.CreateOption> options) Methods inherited from class org.apache.pulsar.metadata.impl.AbstractMetadataStore
accept, delete, deleteRecursive, execute, execute, exists, get, getChildren, getMetadataCache, getMetadataCache, getMetadataCache, handleMetadataEvent, invalidateAll, invalidateCaches, isConnected, notifyParentChildrenChanged, parent, put, put, putInternal, receivedNotification, receivedSessionEvent, registerListener, registerSessionListener, registerSyncLister, shouldIgnoreEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.metadata.api.MetadataStore
getDefaultMetadataCacheConfig, getMetadataCache, getMetadataCache, getMetadataCache, sync
-
Method Details
-
getChildrenFromStore
- Specified by:
getChildrenFromStorein classorg.apache.pulsar.metadata.impl.AbstractMetadataStore
-
existsFromStore
- Specified by:
existsFromStorein classorg.apache.pulsar.metadata.impl.AbstractMetadataStore
-
storeGet
protected CompletableFuture<Optional<org.apache.pulsar.metadata.api.GetResult>> storeGet(String path) - Specified by:
storeGetin classorg.apache.pulsar.metadata.impl.AbstractMetadataStore
-
storeDelete
- Specified by:
storeDeletein classorg.apache.pulsar.metadata.impl.AbstractMetadataStore
-
storePut
protected CompletableFuture<org.apache.pulsar.metadata.api.Stat> storePut(String path, byte[] data, Optional<Long> optExpectedVersion, EnumSet<org.apache.pulsar.metadata.api.extended.CreateOption> options) - Specified by:
storePutin classorg.apache.pulsar.metadata.impl.AbstractMetadataStore
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classorg.apache.pulsar.metadata.impl.AbstractMetadataStore- Throws:
Exception
-
getMetadataEventSynchronizer
public Optional<org.apache.pulsar.metadata.api.MetadataEventSynchronizer> getMetadataEventSynchronizer()
-