public class HadoopIpcToNioAdapter<T> extends Object
GridNioFilters on IPC (specifically shared memory IPC)
communications.
Note that this class consumes an entire thread inside serve() method
in order to serve one IpcEndpoint.| Constructor and Description |
|---|
HadoopIpcToNioAdapter(IgniteLogger log,
IpcEndpoint endp,
boolean accepted,
GridNioServerListener<T> lsnr,
GridNioFilter... filters) |
| Modifier and Type | Method and Description |
|---|---|
void |
serve()
Serves given set of listeners repeatedly reading data from the endpoint.
|
GridNioSession |
session()
Gets dummy session for this adapter.
|
public HadoopIpcToNioAdapter(IgniteLogger log, IpcEndpoint endp, boolean accepted, GridNioServerListener<T> lsnr, GridNioFilter... filters)
log - Log.endp - Endpoint.lsnr - Listener.filters - Filters.public void serve()
throws InterruptedException
InterruptedException - If interrupted.public GridNioSession session()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019