public interface InboundPipeline
InboundHandler
instances and the pipeline can be dynamically be modified.
Modifier and Type | Method and Description |
---|---|
InboundPipeline |
addLast(InboundHandler... handlers)
Adds the handlers at the end of the pipeline.
|
InboundPipeline |
remove(InboundHandler handler)
Removes the given handler from the pipeline.
|
InboundPipeline |
replace(InboundHandler oldHandler,
InboundHandler... newHandlers)
Replaces the old InboundHandler by the new ones.
|
InboundPipeline |
wakeup()
Wakes up the inbound pipeline and lets it to start reading again from the
network.
|
InboundPipeline addLast(InboundHandler... handlers)
handlers
- the handlers to addInboundPipeline replace(InboundHandler oldHandler, InboundHandler... newHandlers)
oldHandler
- the handler to replacenewHandlers
- the new handlers to insertIllegalArgumentException
- is the oldHandler isn't part of this
pipeline.InboundPipeline remove(InboundHandler handler)
handler
- the handler to removeIllegalArgumentException
- is the handler isn't part of this
pipeline.InboundPipeline wakeup()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.