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 voidAbstractSequentialFile.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 IOCallback Modifier and Type Method Description AIOSequentialFileFactory.AIOSequentialCallbackAIOSequentialFileFactory.AIOSequentialCallback. init(long writeSequence, IOCallback IOCallback, org.apache.activemq.artemis.nativo.jlibaio.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 default 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.
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 classJournalTransactionclassSimpleWaitIOCallbackclassSyncIOCompletionInternal class used to manage explicit syncs on the Journal through callbacks.Methods in org.apache.activemq.artemis.core.journal.impl that return IOCallback Modifier and Type Method Description IOCallbackJournalTransaction. getDelegateCompletion()Methods in org.apache.activemq.artemis.core.journal.impl with parameters of type IOCallback Modifier and Type Method Description voidJournalTransaction. setDelegateCompletion(IOCallback delegateCompletion)
-