Class AbstractBatchedMetadataStore

    • Constructor Detail

      • AbstractBatchedMetadataStore

        protected AbstractBatchedMetadataStore​(MetadataStoreConfig conf)
    • Method Detail

      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class AbstractMetadataStore
        Throws:
        java.lang.Exception
      • getChildrenFromStore

        protected final java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> getChildrenFromStore​(java.lang.String path)
        Specified by:
        getChildrenFromStore in class AbstractMetadataStore
      • storeDelete

        protected final java.util.concurrent.CompletableFuture<java.lang.Void> storeDelete​(java.lang.String path,
                                                                                           java.util.Optional<java.lang.Long> expectedVersion)
        Specified by:
        storeDelete in class AbstractMetadataStore
      • storePut

        protected java.util.concurrent.CompletableFuture<Stat> storePut​(java.lang.String path,
                                                                        byte[] data,
                                                                        java.util.Optional<java.lang.Long> optExpectedVersion,
                                                                        java.util.EnumSet<CreateOption> options)
        Specified by:
        storePut in class AbstractMetadataStore
      • batchOperation

        protected abstract void batchOperation​(java.util.List<MetadataOp> ops)