Uses of Interface
org.apache.activemq.artemis.core.io.IOCallback
Packages that use IOCallback
Package
Description
-
Uses of IOCallback in org.apache.activemq.artemis.core.io
Classes in org.apache.activemq.artemis.core.io that implement IOCallbackModifier and TypeClassDescriptionfinal classIt is a utility class to allow severalIOCallbacks to be used as one.classMethods in org.apache.activemq.artemis.core.io with parameters of type IOCallbackModifier and TypeMethodDescriptionintSequentialFile.read(ByteBuffer bytes, IOCallback callback) Read the file.voidAbstractSequentialFile.write(ActiveMQBuffer bytes, boolean sync, IOCallback callback) voidAbstractSequentialFile.write(EncodingSupport bytes, boolean sync, IOCallback callback) voidSequentialFile.write(ActiveMQBuffer bytes, boolean sync, IOCallback callback) voidSequentialFile.write(EncodingSupport bytes, boolean sync, IOCallback callback) voidSequentialFile.writeDirect(ByteBuffer bytes, boolean sync, IOCallback callback) Write directly to the file without using any bufferMethod parameters in org.apache.activemq.artemis.core.io with type arguments of type IOCallbackModifier and TypeMethodDescriptionvoidAbstractSequentialFile.LocalBufferObserver.checkSync(boolean syncRequested, List<IOCallback> callbacks) static voidIOCallback.done(Collection<? extends IOCallback> delegates) voidAbstractSequentialFile.LocalBufferObserver.flushBuffer(io.netty.buffer.ByteBuf byteBuf, boolean requestedSync, List<IOCallback> callbacks) static voidIOCallback.onError(Collection<? extends IOCallback> delegates, int errorCode, String errorMessage) static DelegateCallbackDelegateCallback.wrap(Collection<? extends IOCallback> delegates) -
Uses of IOCallback in org.apache.activemq.artemis.core.io.aio
Methods in org.apache.activemq.artemis.core.io.aio with parameters of type IOCallbackModifier and TypeMethodDescriptionAIOSequentialFileFactory.AIOSequentialCallback.init(long writeSequence, IOCallback IOCallback, LibaioFile libaioFile, AIOSequentialFile sequentialFile, ByteBuffer usedBuffer, boolean releaseBuffer) intAIOSequentialFile.read(ByteBuffer bytes, IOCallback callback) voidAIOSequentialFile.writeDirect(ByteBuffer bytes, boolean sync, IOCallback callback) Note: Parameter sync is not used on AIO -
Uses of IOCallback in org.apache.activemq.artemis.core.io.buffer
Methods in org.apache.activemq.artemis.core.io.buffer with parameters of type IOCallbackModifier and TypeMethodDescriptionvoidTimedBuffer.addBytes(ActiveMQBuffer bytes, boolean sync, IOCallback callback) voidTimedBuffer.addBytes(EncodingSupport bytes, boolean sync, IOCallback callback) Method parameters in org.apache.activemq.artemis.core.io.buffer with type arguments of type IOCallbackModifier and TypeMethodDescriptiondefault voidTimedBufferObserver.checkSync(boolean syncRequested, List<IOCallback> callbacks) voidTimedBufferObserver.flushBuffer(io.netty.buffer.ByteBuf buffer, boolean syncRequested, List<IOCallback> callbacks) It flushesByteBuf.readableBytes()ofbufferwithout changing its reader/writer indexes. -
Uses of IOCallback in org.apache.activemq.artemis.core.io.nio
Methods in org.apache.activemq.artemis.core.io.nio with parameters of type IOCallbackModifier and TypeMethodDescriptionintNIOSequentialFile.read(ByteBuffer bytes, IOCallback callback) voidNIOSequentialFile.writeDirect(ByteBuffer bytes, boolean sync, IOCallback callback) -
Uses of IOCallback in org.apache.activemq.artemis.core.journal
Subinterfaces of IOCallback in org.apache.activemq.artemis.core.journal -
Uses of IOCallback in org.apache.activemq.artemis.core.journal.impl
Classes in org.apache.activemq.artemis.core.journal.impl that implement IOCallbackModifier and TypeClassDescriptionclassfinal classclassInternal class used to manage explicit syncs on the Journal through callbacks.Methods in org.apache.activemq.artemis.core.journal.impl that return IOCallbackMethods in org.apache.activemq.artemis.core.journal.impl with parameters of type IOCallbackModifier and TypeMethodDescriptionvoidJournalTransaction.setDelegateCompletion(IOCallback delegateCompletion) -
Uses of IOCallback in org.apache.activemq.artemis.core.persistence
Subinterfaces of IOCallback in org.apache.activemq.artemis.core.persistenceModifier and TypeInterfaceDescriptioninterfaceThis represents a set of operations done as part of replication.Methods in org.apache.activemq.artemis.core.persistence with parameters of type IOCallbackModifier and TypeMethodDescriptionvoidStorageManager.afterCompleteOperations(IOCallback run) voidStorageManager.afterCompleteOperations(IOCallback run, OperationConsistencyLevel consistencyLevel) voidStorageManager.afterStoreOperations(IOCallback run) This is similar to afterComplete, however this only cares about the journal part.voidOperationContext.executeOnCompletion(IOCallback runnable) Execute the task when all IO operations are complete, Or execute it immediately if nothing is pending.voidOperationContext.executeOnCompletion(IOCallback runnable, OperationConsistencyLevel consistencyLevel) Execute the task when all IO operations are complete, Or execute it immediately if nothing is pending. -
Uses of IOCallback in org.apache.activemq.artemis.core.persistence.impl.journal
Classes in org.apache.activemq.artemis.core.persistence.impl.journal that implement IOCallbackModifier and TypeClassDescriptionfinal classclassEach instance of OperationContextImpl is associated with an executor (usually an ordered Executor).Methods in org.apache.activemq.artemis.core.persistence.impl.journal with parameters of type IOCallbackModifier and TypeMethodDescriptionvoidAbstractJournalStorageManager.afterCompleteOperations(IOCallback run) voidAbstractJournalStorageManager.afterCompleteOperations(IOCallback run, OperationConsistencyLevel consistencyLevel) voidAbstractJournalStorageManager.afterStoreOperations(IOCallback run) voidDummyOperationContext.executeOnCompletion(IOCallback runnable) voidDummyOperationContext.executeOnCompletion(IOCallback runnable, OperationConsistencyLevel consistencyLevel) voidOperationContextImpl.executeOnCompletion(IOCallback runnable) voidOperationContextImpl.executeOnCompletion(IOCallback completion, OperationConsistencyLevel consistencyLevel) -
Uses of IOCallback in org.apache.activemq.artemis.core.persistence.impl.nullpm
Methods in org.apache.activemq.artemis.core.persistence.impl.nullpm with parameters of type IOCallbackModifier and TypeMethodDescriptionvoidNullStorageManager.afterCompleteOperations(IOCallback run) voidNullStorageManager.afterCompleteOperations(IOCallback run, OperationConsistencyLevel consistencyLevel) voidNullStorageManager.afterStoreOperations(IOCallback run) -
Uses of IOCallback in org.apache.activemq.artemis.core.server
Methods in org.apache.activemq.artemis.core.server with parameters of type IOCallbackModifier and TypeMethodDescriptionvoidActiveMQServerLogger_impl.pageSubscriptionError(IOCallback IOCallback, String error) voidActiveMQServerLogger.pageSubscriptionError(IOCallback IOCallback, String error) -
Uses of IOCallback in org.apache.activemq.artemis.jdbc.store.file
Methods in org.apache.activemq.artemis.jdbc.store.file with parameters of type IOCallbackModifier and TypeMethodDescriptionintJDBCSequentialFile.jdbcWrite(ActiveMQBuffer buffer, IOCallback callback) intJDBCSequentialFile.jdbcWrite(ActiveMQBuffer buffer, IOCallback callback, boolean append) intJDBCSequentialFile.read(ByteBuffer bytes, IOCallback callback) voidJDBCSequentialFile.sendToDB(ActiveMQBuffer bytes, IOCallback callback, boolean append) voidJDBCSequentialFile.write(ActiveMQBuffer bytes, boolean sync, IOCallback callback) voidJDBCSequentialFile.write(EncodingSupport bytes, boolean sync, IOCallback callback) voidJDBCSequentialFile.writeDirect(ByteBuffer bytes, boolean sync, IOCallback callback) Constructors in org.apache.activemq.artemis.jdbc.store.file with parameters of type IOCallbackModifierConstructorDescriptionScheduledWrite(ByteBuffer ioBuffer, IOCallback callback, boolean append) ScheduledWrite(ActiveMQBuffer amqBuffer, IOCallback callback, boolean append) ScheduledWrite(IOCallback callback)