public final class NioInboundPipeline extends NioPipeline implements InboundPipeline
NioThread receives a read event from the
 Selector, then the process() is called to read
 out the data from the socket into a bytebuffer and hand it over to the
 InboundHandler to get processed.channel, LOAD_BALANCING_BYTE, LOAD_BALANCING_FRAME, LOAD_BALANCING_HANDLE, loadType, logger, owner, processCount, selectionKey, socketChannel| Modifier and Type | Method and Description | 
|---|---|
InboundPipeline | 
addLast(InboundHandler... addedHandlers)
Adds the handlers at the end of the pipeline. 
 | 
protected Iterable<? extends ChannelHandler> | 
handlers()
Returns an Iterable that can iterate over each  
ChannelHandler of
 the pipeline. | 
long | 
lastReadTimeMillis()  | 
long | 
load()
Get 'load' recorded by the current pipeline. 
 | 
long | 
normalFramesRead()  | 
long | 
priorityFramesRead()  | 
InboundPipeline | 
remove(InboundHandler handler)
Removes the given handler from the pipeline. 
 | 
InboundPipeline | 
replace(InboundHandler oldHandler,
       InboundHandler... addedHandlers)
Replaces the old InboundHandler by the new ones. 
 | 
String | 
toString()  | 
NioInboundPipeline | 
wakeup()
Wakes up the inbound pipeline and lets it to start reading again from the
 network. 
 | 
getChannel, onError, owner, requestMigration, runpublic long normalFramesRead()
public long priorityFramesRead()
public long load()
MigratablePipelineNioThreadload in interface MigratablePipelinepublic long lastReadTimeMillis()
protected Iterable<? extends ChannelHandler> handlers()
NioPipelineChannelHandler of
 the pipeline.
 
 This method is called only by the NioPipeline.onError(Throwable).
handlers in class NioPipelinepublic InboundPipeline remove(InboundHandler handler)
InboundPipelineremove in interface InboundPipelinehandler - the handler to removepublic InboundPipeline addLast(InboundHandler... addedHandlers)
InboundPipelineaddLast in interface InboundPipelineaddedHandlers - the handlers to addpublic InboundPipeline replace(InboundHandler oldHandler, InboundHandler... addedHandlers)
InboundPipelinereplace in interface InboundPipelineoldHandler - the handler to replaceaddedHandlers - the new handlers to insertpublic NioInboundPipeline wakeup()
InboundPipelinewakeup in interface InboundPipelineCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.