| Modifier and Type | Class and Description |
|---|---|
class |
DelegateCallback
It is a utility class to allow several
IOCallbacks to be used as one. |
class |
DummyCallback |
| Modifier and Type | Method and Description |
|---|---|
int |
SequentialFile.read(ByteBuffer bytes,
IOCallback callback) |
void |
SequentialFile.write(ActiveMQBuffer bytes,
boolean sync,
IOCallback callback) |
void |
AbstractSequentialFile.write(ActiveMQBuffer bytes,
boolean sync,
IOCallback callback) |
void |
SequentialFile.write(EncodingSupport bytes,
boolean sync,
IOCallback callback) |
void |
AbstractSequentialFile.write(EncodingSupport bytes,
boolean sync,
IOCallback callback) |
void |
SequentialFile.writeDirect(ByteBuffer bytes,
boolean sync,
IOCallback callback)
Write directly to the file without using any buffer
|
| Modifier and Type | Method and Description |
|---|---|
static void |
IOCallback.done(Collection<? extends IOCallback> delegates) |
void |
AbstractSequentialFile.LocalBufferObserver.flushBuffer(io.netty.buffer.ByteBuf byteBuf,
boolean requestedSync,
List<IOCallback> callbacks) |
static void |
IOCallback.onError(Collection<? extends IOCallback> delegates,
int errorCode,
String errorMessage) |
| Constructor and Description |
|---|
DelegateCallback(Collection<? extends IOCallback> delegates)
It doesn't copy defensively the given
delegates. |
| Modifier and Type | Method and Description |
|---|---|
AIOSequentialFileFactory.AIOSequentialCallback |
AIOSequentialFileFactory.AIOSequentialCallback.init(long writeSequence,
IOCallback IOCallback,
org.apache.activemq.artemis.nativo.jlibaio.LibaioFile libaioFile,
AIOSequentialFile sequentialFile,
ByteBuffer usedBuffer,
boolean releaseBuffer) |
int |
AIOSequentialFile.read(ByteBuffer bytes,
IOCallback callback) |
void |
AIOSequentialFile.writeDirect(ByteBuffer bytes,
boolean sync,
IOCallback callback)
Note: Parameter sync is not used on AIO
|
| Modifier and Type | Method and Description |
|---|---|
void |
TimedBuffer.addBytes(ActiveMQBuffer bytes,
boolean sync,
IOCallback callback) |
void |
TimedBuffer.addBytes(EncodingSupport bytes,
boolean sync,
IOCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
TimedBufferObserver.flushBuffer(io.netty.buffer.ByteBuf buffer,
boolean syncRequested,
List<IOCallback> callbacks)
It flushes
ByteBuf.readableBytes() of buffer without changing its reader/writer indexes.It just use buffer temporary: it can be reused by the caller right after this call. |
| Modifier and Type | Method and Description |
|---|---|
int |
NIOSequentialFile.read(ByteBuffer bytes,
IOCallback callback) |
void |
NIOSequentialFile.writeDirect(ByteBuffer bytes,
boolean sync,
IOCallback callback) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IOCompletion |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleWaitIOCallback |
class |
SyncIOCompletion
Internal class used to manage explicit syncs on the Journal through callbacks.
|
class |
TransactionCallback |
| Modifier and Type | Method and Description |
|---|---|
IOCallback |
TransactionCallback.getDelegateCompletion() |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionCallback.setDelegateCompletion(IOCallback delegateCompletion) |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.