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.classDummyCallbackMethods in org.apache.activemq.artemis.core.io with parameters of type IOCallback Modifier and Type Method Description intSequentialFile. read(java.nio.ByteBuffer bytes, IOCallback callback)voidAbstractSequentialFile. write(org.apache.activemq.artemis.api.core.ActiveMQBuffer bytes, boolean sync, IOCallback callback)voidAbstractSequentialFile. write(EncodingSupport bytes, boolean sync, IOCallback callback)voidSequentialFile. write(org.apache.activemq.artemis.api.core.ActiveMQBuffer bytes, boolean sync, IOCallback callback)voidSequentialFile. write(EncodingSupport bytes, boolean sync, IOCallback callback)voidSequentialFile. writeDirect(java.nio.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(java.util.Collection<? extends IOCallback> delegates)voidAbstractSequentialFile.LocalBufferObserver. flushBuffer(io.netty.buffer.ByteBuf byteBuf, boolean requestedSync, java.util.List<IOCallback> callbacks)static voidIOCallback. onError(java.util.Collection<? extends IOCallback> delegates, int errorCode, java.lang.String errorMessage)Constructor parameters in org.apache.activemq.artemis.core.io with type arguments of type IOCallback Constructor Description DelegateCallback(java.util.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, org.apache.activemq.artemis.nativo.jlibaio.LibaioFile libaioFile, AIOSequentialFile sequentialFile, java.nio.ByteBuffer usedBuffer, boolean releaseBuffer)intAIOSequentialFile. read(java.nio.ByteBuffer bytes, IOCallback callback)voidAIOSequentialFile. writeDirect(java.nio.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(org.apache.activemq.artemis.api.core.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, java.util.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(java.nio.ByteBuffer bytes, IOCallback callback)voidNIOSequentialFile. writeDirect(java.nio.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)
-