Uses of Class
org.apache.bookkeeper.mledger.ManagedLedgerException
-
Packages that use ManagedLedgerException Package Description org.apache.bookkeeper.mledger Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.bookkeeper.mledger.impl Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.bookkeeper.mledger.util Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. -
-
Uses of ManagedLedgerException in org.apache.bookkeeper.mledger
Methods in org.apache.bookkeeper.mledger that return ManagedLedgerException Modifier and Type Method Description static ManagedLedgerExceptionManagedLedgerException. getManagedLedgerException(java.lang.Throwable e)Methods in org.apache.bookkeeper.mledger with parameters of type ManagedLedgerException Modifier and Type Method Description voidAsyncCallbacks.AddEntryCallback. addFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.ClearBacklogCallback. clearBacklogFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.CloseCallback. closeFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.DeleteCursorCallback. deleteCursorFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.DeleteCallback. deleteFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.DeleteLedgerCallback. deleteLedgerFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.FindEntryCallback. findEntryFailed(ManagedLedgerException exception, java.util.Optional<Position> failedReadPosition, java.lang.Object ctx)voidAsyncCallbacks.ManagedLedgerInfoCallback. getInfoFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.MarkDeleteCallback. markDeleteFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.OffloadCallback. offloadFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.OpenCursorCallback. openCursorFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.OpenLedgerCallback. openLedgerFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.OpenReadOnlyCursorCallback. openReadOnlyCursorFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.ReadEntriesCallback. readEntriesFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.ReadEntryCallback. readEntryFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.ResetCursorCallback. resetFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.SkipEntriesCallback. skipEntriesFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.TerminateCallback. terminateFailed(ManagedLedgerException exception, java.lang.Object ctx)voidAsyncCallbacks.UpdatePropertiesCallback. updatePropertiesFailed(ManagedLedgerException exception, java.lang.Object ctx)Methods in org.apache.bookkeeper.mledger that throw ManagedLedgerException Modifier and Type Method Description PositionManagedLedger. addEntry(byte[] data)Append a new entry to the end of a managed ledger.PositionManagedLedger. addEntry(byte[] data, int numberOfMessages)Append a new entry to the end of a managed ledger.PositionManagedLedger. addEntry(byte[] data, int offset, int length)Append a new entry to the end of a managed ledger.PositionManagedLedger. addEntry(byte[] data, int numberOfMessages, int offset, int length)Append a new entry to the end of a managed ledger.voidManagedCursor. clearBacklog()Clear the cursor backlog.voidManagedCursor. close()Close the cursor and releases the associated resources.voidManagedLedger. close()Close the ManagedLedger.voidReadOnlyCursor. close()Close the cursor and releases the associated resources.voidManagedCursor. delete(java.lang.Iterable<Position> positions)Delete a group of entries.voidManagedCursor. delete(Position position)Delete a single message.voidManagedLedger. delete()Delete the ManagedLedger.voidManagedLedgerFactory. delete(java.lang.String name)Delete a managed ledger.voidManagedLedger. deleteCursor(java.lang.String name)Remove a ManagedCursor from this ManagedLedger.voidManagedLedger. deleteProperty(java.lang.String key)Delete the property by key.PositionManagedCursor. findNewestMatching(com.google.common.base.Predicate<Entry> condition)Find the newest entry that matches the given predicate.PositionManagedCursor. findNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition)Find the newest entry that matches the given predicate.PositionReadOnlyCursor. findNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition)Find the newest entry that matches the given predicate.ManagedLedgerInfoManagedLedgerFactory. getManagedLedgerInfo(java.lang.String name)Get the current metadata info for a managed ledger.EntryManagedCursor. getNthEntry(int n, ManagedCursor.IndividualDeletedEntries deletedEntries)Get 'N'th entry from the mark delete position in the cursor without updating any cursor positions.voidManagedCursor. markDelete(Position position)This signals that the reader is done with all the entries up to "position" (included).voidManagedCursor. markDelete(Position position, java.util.Map<java.lang.String,java.lang.Long> properties)This signals that the reader is done with all the entries up to "position" (included).ManagedCursorManagedLedger. newNonDurableCursor(Position startCursorPosition)Creates a new cursor whose metadata is not backed by durable storage.ManagedCursorManagedLedger. newNonDurableCursor(Position startPosition, java.lang.String subscriptionName)ManagedCursorManagedLedger. newNonDurableCursor(Position startPosition, java.lang.String subscriptionName, org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition initialPosition)PositionManagedLedger. offloadPrefix(Position pos)Offload as many entries before position as possible to longterm storage.ManagedLedgerManagedLedgerFactory. open(java.lang.String name)Open a managed ledger.ManagedLedgerManagedLedgerFactory. open(java.lang.String name, ManagedLedgerConfig config)Open a managed ledger.ManagedCursorManagedLedger. openCursor(java.lang.String name)Open a ManagedCursor in this ManagedLedger.ManagedCursorManagedLedger. openCursor(java.lang.String name, org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition initialPosition)Open a ManagedCursor in this ManagedLedger.ManagedCursorManagedLedger. openCursor(java.lang.String name, org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition initialPosition, java.util.Map<java.lang.String,java.lang.Long> properties)Open a ManagedCursor in this ManagedLedger.ReadOnlyCursorManagedLedgerFactory. openReadOnlyCursor(java.lang.String managedLedgerName, Position startPosition, ManagedLedgerConfig config)Open aReadOnlyCursorpositioned to the earliest entry for the specified managed ledgerjava.util.List<Entry>ManagedCursor. readEntries(int numberOfEntriesToRead)Read entries from the ManagedLedger, up to the specified number.java.util.List<Entry>ReadOnlyCursor. readEntries(int numberOfEntriesToRead)Read entries from the ManagedLedger, up to the specified number.java.util.List<Entry>ManagedCursor. readEntriesOrWait(int numberOfEntriesToRead)Read entries from the ManagedLedger, up to the specified number.java.util.List<Entry>ManagedCursor. readEntriesOrWait(int maxEntries, long maxSizeBytes)Read entries from the ManagedLedger, up to the specified number and size.java.util.List<Entry>ManagedCursor. replayEntries(java.util.Set<? extends Position> positions)Read the specified set of positions from ManagedLedger.voidManagedCursor. resetCursor(Position position)reset the cursor to specified position to enable replay of messages.voidManagedLedger. setProperties(java.util.Map<java.lang.String,java.lang.String> properties)Update managed-ledger's properties.voidManagedLedger. setProperty(java.lang.String key, java.lang.String value)Add key-value to propertiesMap.voidManagedLedgerFactory. shutdown()Releases all the resources maintained by the ManagedLedgerFactory.voidManagedCursor. skipEntries(int numEntriesToSkip, ManagedCursor.IndividualDeletedEntries deletedEntries)Skip n entries from the read position of this cursor.PositionManagedLedger. terminate()Terminate the managed ledger and return the last committed entry. -
Uses of ManagedLedgerException in org.apache.bookkeeper.mledger.impl
Methods in org.apache.bookkeeper.mledger.impl that return ManagedLedgerException Modifier and Type Method Description static ManagedLedgerExceptionManagedLedgerImpl. createManagedLedgerException(int bkErrorCode)static ManagedLedgerExceptionManagedLedgerImpl. createManagedLedgerException(java.lang.Throwable t)Methods in org.apache.bookkeeper.mledger.impl with parameters of type ManagedLedgerException Modifier and Type Method Description voidOpAddEntry. failed(ManagedLedgerException e)voidManagedCursorImpl.VoidCallback. operationFailed(ManagedLedgerException exception)Methods in org.apache.bookkeeper.mledger.impl that throw ManagedLedgerException Modifier and Type Method Description PositionManagedLedgerImpl. addEntry(byte[] data)PositionManagedLedgerImpl. addEntry(byte[] data, int numberOfMessages)PositionManagedLedgerImpl. addEntry(byte[] data, int offset, int length)PositionManagedLedgerImpl. addEntry(byte[] data, int numberOfMessages, int offset, int length)voidManagedCursorImpl. clearBacklog()voidManagedCursorImpl. close()voidManagedLedgerImpl. close()voidManagedCursorImpl. delete(java.lang.Iterable<Position> positions)voidManagedCursorImpl. delete(Position position)voidManagedLedgerFactoryImpl. delete(java.lang.String name)voidManagedLedgerImpl. delete()Delete this ManagedLedger completely from the system.voidManagedLedgerImpl. deleteCursor(java.lang.String name)voidManagedLedgerImpl. deleteProperty(java.lang.String key)PositionManagedCursorImpl. findNewestMatching(com.google.common.base.Predicate<Entry> condition)PositionManagedCursorImpl. findNewestMatching(ManagedCursor.FindPositionConstraint constraint, com.google.common.base.Predicate<Entry> condition)ManagedLedgerInfoManagedLedgerFactoryImpl. getManagedLedgerInfo(java.lang.String name)EntryManagedCursorImpl. getNthEntry(int n, ManagedCursor.IndividualDeletedEntries deletedEntries)voidManagedCursorImpl. markDelete(Position position)voidManagedCursorImpl. markDelete(Position position, java.util.Map<java.lang.String,java.lang.Long> properties)ManagedCursorManagedLedgerImpl. newNonDurableCursor(Position startCursorPosition)ManagedCursorManagedLedgerImpl. newNonDurableCursor(Position startPosition, java.lang.String subscriptionName)ManagedCursorManagedLedgerImpl. newNonDurableCursor(Position startCursorPosition, java.lang.String cursorName, org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition initialPosition)PositionManagedLedgerImpl. offloadPrefix(Position pos)ManagedLedgerManagedLedgerFactoryImpl. open(java.lang.String name)ManagedLedgerManagedLedgerFactoryImpl. open(java.lang.String name, ManagedLedgerConfig config)ManagedCursorManagedLedgerImpl. openCursor(java.lang.String cursorName)ManagedCursorManagedLedgerImpl. openCursor(java.lang.String cursorName, org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition initialPosition)ManagedCursorManagedLedgerImpl. openCursor(java.lang.String cursorName, org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition initialPosition, java.util.Map<java.lang.String,java.lang.Long> properties)ReadOnlyCursorManagedLedgerFactoryImpl. openReadOnlyCursor(java.lang.String managedLedgerName, Position startPosition, ManagedLedgerConfig config)java.util.List<Entry>ManagedCursorImpl. readEntries(int numberOfEntriesToRead)java.util.List<Entry>ManagedCursorImpl. readEntriesOrWait(int numberOfEntriesToRead)java.util.List<Entry>ManagedCursorImpl. readEntriesOrWait(int numberOfEntriesToRead, long maxSizeBytes)java.util.List<Entry>ManagedCursorImpl. replayEntries(java.util.Set<? extends Position> positions)voidManagedCursorImpl. resetCursor(Position newPos)voidManagedLedgerImpl. setProperties(java.util.Map<java.lang.String,java.lang.String> properties)voidManagedLedgerImpl. setProperty(java.lang.String key, java.lang.String value)voidManagedLedgerFactoryImpl. shutdown()voidManagedCursorImpl. skipEntries(int numEntriesToSkip, ManagedCursor.IndividualDeletedEntries deletedEntries)PositionManagedLedgerImpl. terminate() -
Uses of ManagedLedgerException in org.apache.bookkeeper.mledger.util
Methods in org.apache.bookkeeper.mledger.util with parameters of type ManagedLedgerException Modifier and Type Method Description voidFutures.CloseFuture. closeFailed(ManagedLedgerException exception, java.lang.Object ctx)
-