Uses of Interface
org.apache.bookkeeper.mledger.ManagedCursor
Packages that use ManagedCursor
-
Uses of ManagedCursor in org.apache.bookkeeper.mledger
Methods in org.apache.bookkeeper.mledger that return ManagedCursorModifier and TypeMethodDescriptionManagedLedger.getSlowestConsumer()Get the slowest consumer.ManagedLedger.newNonDurableCursor(Position startCursorPosition) Creates a new cursor whose metadata is not backed by durable storage.ManagedLedger.newNonDurableCursor(Position startPosition, String subscriptionName) ManagedLedger.newNonDurableCursor(Position startPosition, String subscriptionName, CommandSubscribe.InitialPosition initialPosition, boolean isReadCompacted) ManagedLedger.openCursor(String name) Open a ManagedCursor in this ManagedLedger.ManagedLedger.openCursor(String name, CommandSubscribe.InitialPosition initialPosition) Open a ManagedCursor in this ManagedLedger.ManagedLedger.openCursor(String name, CommandSubscribe.InitialPosition initialPosition, Map<String, Long> properties, Map<String, String> cursorProperties) Open a ManagedCursor in this ManagedLedger.Methods in org.apache.bookkeeper.mledger that return types with arguments of type ManagedCursorModifier and TypeMethodDescriptionManagedLedger.getActiveCursors()Get a list of all the active cursors reading from this ManagedLedger.ManagedLedger.getCursors()Get a list of all the cursors reading from this ManagedLedger.Methods in org.apache.bookkeeper.mledger with parameters of type ManagedCursorModifier and TypeMethodDescriptionvoidAsyncCallbacks.OpenCursorCallback.openCursorComplete(ManagedCursor cursor, Object ctx) voidManagedLedger.removeWaitingCursor(ManagedCursor cursor) Remove a ManagedCursor from this ManagedLedger's waitingCursors. -
Uses of ManagedCursor in org.apache.bookkeeper.mledger.impl
Classes in org.apache.bookkeeper.mledger.impl that implement ManagedCursorModifier and TypeClassDescriptionclassclassclassMethods in org.apache.bookkeeper.mledger.impl that return ManagedCursorModifier and TypeMethodDescriptionManagedCursorImpl.duplicateNonDurableCursor(String nonDurableCursorName) Create a non-durable cursor and copy the ack stats.ManagedLedgerImpl.getSlowestConsumer()ManagedCursorContainer.getSlowestReader()ManagedLedgerImpl.newNonDurableCursor(Position startCursorPosition) ManagedLedgerImpl.newNonDurableCursor(Position startPosition, String subscriptionName) ManagedLedgerImpl.newNonDurableCursor(Position startCursorPosition, String cursorName, CommandSubscribe.InitialPosition initialPosition, boolean isReadCompacted) ManagedLedgerImpl.openCursor(String cursorName) ManagedLedgerImpl.openCursor(String cursorName, CommandSubscribe.InitialPosition initialPosition) ManagedLedgerImpl.openCursor(String cursorName, CommandSubscribe.InitialPosition initialPosition, Map<String, Long> properties, Map<String, String> cursorProperties) Methods in org.apache.bookkeeper.mledger.impl that return types with arguments of type ManagedCursorMethods in org.apache.bookkeeper.mledger.impl with parameters of type ManagedCursorModifier and TypeMethodDescriptionvoidManagedLedgerImpl.activateCursor(ManagedCursor cursor) voidManagedCursorContainer.add(ManagedCursor cursor, Position position) Add a cursor to the container.org.apache.commons.lang3.tuple.Pair<PositionImpl,PositionImpl> ManagedCursorContainer.cursorUpdated(ManagedCursor cursor, Position newPosition) Signal that a cursor position has been updated and that the container must re-order the cursor heap tracking the slowest reader.voidManagedLedgerImpl.deactivateCursor(ManagedCursor cursor) booleanManagedLedgerImpl.isCursorActive(ManagedCursor cursor) voidManagedLedgerImpl.removeWaitingCursor(ManagedCursor cursor) Constructors in org.apache.bookkeeper.mledger.impl with parameters of type ManagedCursor