public final class NioOutboundPipeline extends NioPipeline
| Modifier and Type | Field and Description |
|---|---|
Queue<OutboundFrame> |
priorityWriteQueue |
Queue<OutboundFrame> |
writeQueue |
LOAD_BALANCING_BYTE, LOAD_BALANCING_FRAME, LOAD_BALANCING_HANDLE, loadType| Constructor and Description |
|---|
NioOutboundPipeline(NioChannel channel,
NioThread owner,
ChannelErrorHandler errorHandler,
ILogger logger,
IOBalancer balancer,
ChannelInitializer initializer) |
| Modifier and Type | Method and Description |
|---|---|
long |
bytesPending() |
void |
close() |
long |
lastWriteTimeMillis() |
long |
load()
Get 'load' recorded by the current pipeline.
|
long |
priorityBytesPending() |
String |
toString() |
int |
totalFramesPending() |
void |
write(OutboundFrame frame) |
getChannel, onError, owner, requestMigration, runpublic final Queue<OutboundFrame> writeQueue
public final Queue<OutboundFrame> priorityWriteQueue
public NioOutboundPipeline(NioChannel channel, NioThread owner, ChannelErrorHandler errorHandler, ILogger logger, IOBalancer balancer, ChannelInitializer initializer)
public long load()
MigratablePipelineNioThreadpublic int totalFramesPending()
public long lastWriteTimeMillis()
public long bytesPending()
public long priorityBytesPending()
public void write(OutboundFrame frame)
public void close()
Copyright © 2018. All Rights Reserved.