public class BlobStoreBackedReadHandleImpl extends Object implements org.apache.bookkeeper.client.api.ReadHandle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readLastAddConfirmed, readLastAddConfirmedAndEntry, readUnconfirmed, tryReadLastAddConfirmedclosepublic long getId()
getId in interface org.apache.bookkeeper.client.api.Handlepublic org.apache.bookkeeper.client.api.LedgerMetadata getLedgerMetadata()
getLedgerMetadata in interface org.apache.bookkeeper.client.api.Handlepublic CompletableFuture<Void> closeAsync()
closeAsync in interface org.apache.bookkeeper.client.api.Handlepublic CompletableFuture<org.apache.bookkeeper.client.api.LedgerEntries> readAsync(long firstEntry, long lastEntry)
readAsync in interface org.apache.bookkeeper.client.api.ReadHandlepublic CompletableFuture<org.apache.bookkeeper.client.api.LedgerEntries> readUnconfirmedAsync(long firstEntry, long lastEntry)
readUnconfirmedAsync in interface org.apache.bookkeeper.client.api.ReadHandlepublic CompletableFuture<Long> readLastAddConfirmedAsync()
readLastAddConfirmedAsync in interface org.apache.bookkeeper.client.api.ReadHandlepublic CompletableFuture<Long> tryReadLastAddConfirmedAsync()
tryReadLastAddConfirmedAsync in interface org.apache.bookkeeper.client.api.ReadHandlepublic long getLastAddConfirmed()
getLastAddConfirmed in interface org.apache.bookkeeper.client.api.ReadHandlepublic long getLength()
getLength in interface org.apache.bookkeeper.client.api.ReadHandlepublic boolean isClosed()
isClosed in interface org.apache.bookkeeper.client.api.ReadHandlepublic CompletableFuture<org.apache.bookkeeper.client.api.LastConfirmedAndEntry> readLastAddConfirmedAndEntryAsync(long entryId, long timeOutInMillis, boolean parallel)
readLastAddConfirmedAndEntryAsync in interface org.apache.bookkeeper.client.api.ReadHandlepublic static org.apache.bookkeeper.client.api.ReadHandle open(ScheduledExecutorService executor, org.jclouds.blobstore.BlobStore blobStore, String bucket, String key, String indexKey, DataBlockUtils.VersionCheck versionCheck, long ledgerId, int readBufferSize) throws IOException
IOExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.