public class TcpTransport.NodeChannels
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
java.util.List<Channel> |
allChannels |
Channel[] |
bulk |
java.util.concurrent.atomic.AtomicInteger |
bulkCounter |
Channel[] |
ping |
java.util.concurrent.atomic.AtomicInteger |
pingCounter |
Channel[] |
recovery |
java.util.concurrent.atomic.AtomicInteger |
recoveryCounter |
Channel[] |
reg |
java.util.concurrent.atomic.AtomicInteger |
regCounter |
Channel[] |
state |
java.util.concurrent.atomic.AtomicInteger |
stateCounter |
Constructor and Description |
---|
NodeChannels(Channel[] recovery,
Channel[] bulk,
Channel[] reg,
Channel[] state,
Channel[] ping) |
Modifier and Type | Method and Description |
---|---|
Channel |
channel(TransportRequestOptions.Type type) |
void |
close() |
java.util.List<Channel[]> |
getChannelArrays() |
boolean |
hasChannel(Channel channel) |
void |
start() |
public java.util.List<Channel> allChannels
public Channel[] recovery
public final java.util.concurrent.atomic.AtomicInteger recoveryCounter
public Channel[] bulk
public final java.util.concurrent.atomic.AtomicInteger bulkCounter
public Channel[] reg
public final java.util.concurrent.atomic.AtomicInteger regCounter
public Channel[] state
public final java.util.concurrent.atomic.AtomicInteger stateCounter
public Channel[] ping
public final java.util.concurrent.atomic.AtomicInteger pingCounter
public void start()
public boolean hasChannel(Channel channel)
public Channel channel(TransportRequestOptions.Type type)
public java.util.List<Channel[]> getChannelArrays()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException