接口的使用
org.apache.bookkeeper.mledger.Entry
使用Entry的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
org.apache.bookkeeper.mledger中Entry的使用
修饰符和类型方法说明ManagedCursor.getNthEntry(int n, ManagedCursor.IndividualDeletedEntries deletedEntries) Get 'N'th entry from the mark delete position in the cursor without updating any cursor positions.返回变量类型为Entry的类型的org.apache.bookkeeper.mledger中的方法修饰符和类型方法说明ManagedCursor.readEntries(int numberOfEntriesToRead) Read entries from the ManagedLedger, up to the specified number.ReadOnlyCursor.readEntries(int numberOfEntriesToRead) Read entries from the ManagedLedger, up to the specified number.ManagedCursor.readEntriesOrWait(int numberOfEntriesToRead) Read entries from the ManagedLedger, up to the specified number.ManagedCursor.readEntriesOrWait(int maxEntries, long maxSizeBytes) Read entries from the ManagedLedger, up to the specified number and size.ManagedCursor.replayEntries(Set<? extends Position> positions) Read the specified set of positions from ManagedLedger.参数类型为Entry的org.apache.bookkeeper.mledger中的方法修饰符和类型方法说明LedgerOffloader.OffloadHandle.offerEntry(Entry entry) The caller should manually release entry no matter what the offer result is.LedgerOffloader.OffloadHandle.offerEntryAsync(Entry entry) voidAsyncCallbacks.ReadEntryCallback.readEntryComplete(Entry entry, Object ctx) 类型变量类型为Entry的org.apache.bookkeeper.mledger中的方法参数修饰符和类型方法说明voidManagedCursor.asyncFindNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition, AsyncCallbacks.FindEntryCallback callback, Object ctx) Find the newest entry that matches the given predicate.ManagedLedger.asyncFindPosition(com.google.common.base.Predicate<Entry> predicate) Find position by sequenceId.ManagedCursor.findNewestMatching(com.google.common.base.Predicate<Entry> condition) Find the newest entry that matches the given predicate.ManagedCursor.findNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition) Find the newest entry that matches the given predicate.ReadOnlyCursor.findNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition) Find the newest entry that matches the given predicate.voidAsyncCallbacks.ReadEntriesCallback.readEntriesComplete(List<Entry> entries, Object ctx) voidManagedCursor.trimDeletedEntries(List<Entry> entries) Trim delete entries for the given entries. -
org.apache.bookkeeper.mledger.impl中Entry的使用
修饰符和类型方法说明ManagedCursorImpl.getNthEntry(int n, ManagedCursor.IndividualDeletedEntries deletedEntries) 返回变量类型为Entry的类型的org.apache.bookkeeper.mledger.impl中的方法修饰符和类型方法说明ManagedCursorImpl.readEntries(int numberOfEntriesToRead) ManagedCursorImpl.readEntriesOrWait(int numberOfEntriesToRead) ManagedCursorImpl.readEntriesOrWait(int numberOfEntriesToRead, long maxSizeBytes) ManagedCursorImpl.replayEntries(Set<? extends Position> positions) 类型变量类型为Entry的org.apache.bookkeeper.mledger.impl中的方法参数修饰符和类型方法说明voidManagedCursorImpl.asyncFindNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition, AsyncCallbacks.FindEntryCallback callback, Object ctx) ManagedLedgerImpl.asyncFindPosition(com.google.common.base.Predicate<Entry> predicate) ManagedCursorImpl.findNewestMatching(com.google.common.base.Predicate<Entry> condition) ManagedCursorImpl.findNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition) voidManagedCursorImpl.trimDeletedEntries(List<Entry> entries) -
org.apache.bookkeeper.mledger.impl.cache中Entry的使用