public class SpinningChannelWriter extends AbstractHandler
Modifier and Type | Field and Description |
---|---|
Queue<OutboundFrame> |
urgentWriteQueue |
Queue<OutboundFrame> |
writeQueue |
channel, logger
Constructor and Description |
---|
SpinningChannelWriter(Channel channel,
ILogger logger,
ChannelErrorHandler errorHandler,
ChannelInitializer initializer) |
Modifier and Type | Method and Description |
---|---|
long |
bytesPending() |
void |
close() |
long |
lastWriteTimeMillis() |
long |
priorityBytesPending() |
int |
totalFramesPending() |
void |
write() |
void |
write(OutboundFrame frame) |
getChannel, onFailure
public final Queue<OutboundFrame> writeQueue
public final Queue<OutboundFrame> urgentWriteQueue
public SpinningChannelWriter(Channel channel, ILogger logger, ChannelErrorHandler errorHandler, ChannelInitializer initializer)
public void write(OutboundFrame frame)
public long bytesPending()
public long priorityBytesPending()
public int totalFramesPending()
public long lastWriteTimeMillis()
public void close()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.