public interface HadoopIgfsIo
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(HadoopIgfsIpcIoListener lsnr)
Adds event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
removeEventListener(HadoopIgfsIpcIoListener lsnr)
Removes event listener that will be invoked when connection with server is lost or remote error has occurred.
|
IgniteInternalFuture<IgfsMessage> |
send(IgfsMessage msg)
Sends given IGFS client message and asynchronously awaits for response.
|
<T> IgniteInternalFuture<T> |
send(IgfsMessage msg,
byte[] outBuf,
int outOff,
int outLen)
Sends given IGFS client message and asynchronously awaits for response.
|
void |
sendPlain(IgfsMessage msg)
Sends given message and does not wait for response.
|
IgniteInternalFuture<IgfsMessage> send(IgfsMessage msg) throws IgniteCheckedException
msg - Message to send.IgniteCheckedException - If a message cannot be sent (connection is broken or client was closed).<T> IgniteInternalFuture<T> send(IgfsMessage msg, @Nullable byte[] outBuf, int outOff, int outLen) throws IgniteCheckedException
msg - Message to send.outBuf - Output buffer. If null, the output buffer is not used.outOff - Output buffer offset.outLen - Output buffer length.IgniteCheckedException - If a message cannot be sent (connection is broken or client was closed).void sendPlain(IgfsMessage msg) throws IgniteCheckedException
msg - Message to send.IgniteCheckedException - If send failed.void addEventListener(HadoopIgfsIpcIoListener lsnr)
lsnr - Event listener.void removeEventListener(HadoopIgfsIpcIoListener lsnr)
lsnr - Event listener.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019