Uses of Interface
org.apache.activemq.artemis.core.io.IOCallback
-
-
Uses of IOCallback in org.apache.activemq.artemis.core.io
Classes in org.apache.activemq.artemis.core.io that implement IOCallback Modifier and Type Class Description classDelegateCallbackIt is a utility class to allow severalIOCallbacks to be used as one.classDummyCallbackclassRunnableCallbackMethods in org.apache.activemq.artemis.core.io with parameters of type IOCallback Modifier and Type Method Description intSequentialFile. read(ByteBuffer bytes, IOCallback callback)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 IOCallback Modifier and Type Method Description 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)Constructor parameters in org.apache.activemq.artemis.core.io with type arguments of type IOCallback Constructor Description DelegateCallback(Collection<? extends IOCallback> delegates)It doesn't copy defensively the givendelegates. -
Uses of IOCallback in org.apache.activemq.artemis.core.io.aio
Methods in org.apache.activemq.artemis.core.io.aio with parameters of type IOCallback Modifier and Type Method Description AIOSequentialFileFactory.AIOSequentialCallbackAIOSequentialFileFactory.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 IOCallback Modifier and Type Method Description voidTimedBuffer. 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 IOCallback Modifier and Type Method Description voidTimedBufferObserver. flushBuffer(io.netty.buffer.ByteBuf buffer, boolean syncRequested, List<IOCallback> callbacks)It flushesByteBuf.readableBytes()ofbufferwithout changing its reader/writer indexes.
It just usebuffertemporary: it can be reused by the caller right after this call. -
Uses of IOCallback in org.apache.activemq.artemis.core.io.nio
Methods in org.apache.activemq.artemis.core.io.nio with parameters of type IOCallback Modifier and Type Method Description intNIOSequentialFile. 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 Modifier and Type Interface Description interfaceIOCompletion -
Uses of IOCallback in org.apache.activemq.artemis.core.journal.impl
Classes in org.apache.activemq.artemis.core.journal.impl that implement IOCallback Modifier and Type Class Description classSimpleWaitIOCallbackclassSyncIOCompletionInternal class used to manage explicit syncs on the Journal through callbacks.classTransactionCallbackMethods in org.apache.activemq.artemis.core.journal.impl that return IOCallback Modifier and Type Method Description IOCallbackTransactionCallback. getDelegateCompletion()Methods in org.apache.activemq.artemis.core.journal.impl with parameters of type IOCallback Modifier and Type Method Description voidTransactionCallback. setDelegateCompletion(IOCallback delegateCompletion) -
Uses of IOCallback in org.apache.activemq.artemis.core.persistence
Subinterfaces of IOCallback in org.apache.activemq.artemis.core.persistence Modifier and Type Interface Description interfaceOperationContextThis represents a set of operations done as part of replication.Methods in org.apache.activemq.artemis.core.persistence with parameters of type IOCallback Modifier and Type Method Description voidStorageManager. afterCompleteOperations(IOCallback run)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, boolean storeOnly)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 IOCallback Modifier and Type Class Description classDummyOperationContextclassOperationContextImplEach 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 IOCallback Modifier and Type Method Description voidAbstractJournalStorageManager. afterCompleteOperations(IOCallback run)voidAbstractJournalStorageManager. afterStoreOperations(IOCallback run)voidDummyOperationContext. executeOnCompletion(IOCallback runnable)voidDummyOperationContext. executeOnCompletion(IOCallback runnable, boolean storeOnly)voidOperationContextImpl. executeOnCompletion(IOCallback runnable)voidOperationContextImpl. executeOnCompletion(IOCallback completion, boolean storeOnly) -
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 IOCallback Modifier and Type Method Description voidNullStorageManager. afterCompleteOperations(IOCallback run)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 IOCallback Modifier and Type Method Description voidActiveMQServerLogger_$logger. 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 IOCallback Modifier and Type Method Description intJDBCSequentialFile. internalWrite(ActiveMQBuffer buffer, IOCallback callback)intJDBCSequentialFile. internalWrite(ActiveMQBuffer buffer, IOCallback callback, boolean append)intJDBCSequentialFile. read(ByteBuffer bytes, IOCallback callback)voidJDBCSequentialFile. write(ActiveMQBuffer bytes, boolean sync, IOCallback callback)voidJDBCSequentialFile. write(ActiveMQBuffer bytes, boolean sync, IOCallback callback, boolean append)voidJDBCSequentialFile. write(EncodingSupport bytes, boolean sync, IOCallback callback)voidJDBCSequentialFile. writeDirect(ByteBuffer bytes, boolean sync, IOCallback callback)
-