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, 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 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)