Class OxiaMetadataStore
java.lang.Object
org.apache.pulsar.metadata.impl.AbstractMetadataStore
org.apache.pulsar.metadata.impl.oxia.OxiaMetadataStore
- All Implemented Interfaces:
AutoCloseable,Consumer<Notification>,MetadataStoreExtended,MetadataStore
-
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) GetMetadataEventSynchronizerto notify and synchronize metadata events.protected CompletableFuture<Void>storeDelete(String path, Optional<Long> expectedVersion) protected CompletableFuture<Optional<GetResult>>protected CompletableFuture<Stat>storePut(String path, byte[] data, Optional<Long> optExpectedVersion, EnumSet<CreateOption> options) voidupdateMetadataEventSynchronizer(MetadataEventSynchronizer synchronizer) Methods inherited from class org.apache.pulsar.metadata.impl.AbstractMetadataStore
accept, alreadyClosedFailedFuture, delete, deleteRecursive, execute, execute, exists, get, getChildren, getMetadataCache, getMetadataCache, getMetadataCache, handleMetadataEvent, invalidateAll, invalidateCaches, isClosed, notifyParentChildrenChanged, parent, put, put, putInternal, receivedNotification, receivedSessionEvent, registerListener, registerSessionListener, registerSyncListener, 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 classAbstractMetadataStore
-
existsFromStore
- Specified by:
existsFromStorein classAbstractMetadataStore
-
storeGet
- Specified by:
storeGetin classAbstractMetadataStore
-
storeDelete
- Specified by:
storeDeletein classAbstractMetadataStore
-
storePut
protected CompletableFuture<Stat> storePut(String path, byte[] data, Optional<Long> optExpectedVersion, EnumSet<CreateOption> options) - Specified by:
storePutin classAbstractMetadataStore
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classAbstractMetadataStore- Throws:
Exception
-
getMetadataEventSynchronizer
Description copied from interface:MetadataStoreExtendedGetMetadataEventSynchronizerto notify and synchronize metadata events.- Returns:
-
updateMetadataEventSynchronizer
-