@Deprecated public class GridNioRecoveryDescriptor extends Object
| Constructor and Description |
|---|
GridNioRecoveryDescriptor(boolean pairedConnections,
int queueLimit,
ClusterNode node,
IgniteLogger log)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
acked()
Deprecated.
|
void |
ackReceived(long rcvCnt)
Deprecated.
|
boolean |
add(SessionWriteRequest req)
Deprecated.
|
boolean |
connected()
Deprecated.
|
Long |
handshakeIndex()
Deprecated.
|
long |
incrementConnectCount()
Deprecated.
|
long |
lastAcknowledged()
Deprecated.
|
void |
lastAcknowledged(long lastAck)
Deprecated.
|
Deque<SessionWriteRequest> |
messagesRequests()
Deprecated.
|
ClusterNode |
node()
Deprecated.
|
boolean |
nodeAlive(ClusterNode node)
Deprecated.
|
void |
onConnected()
Deprecated.
|
void |
onHandshake(long rcvCnt)
Deprecated.
|
boolean |
onNodeLeft()
Deprecated.
Node left callback.
|
long |
onReceived()
Deprecated.
Increments received messages counter.
|
boolean |
pairedConnections()
Deprecated.
|
int |
queueLimit()
Deprecated.
|
long |
received()
Deprecated.
|
void |
release()
Deprecated.
|
boolean |
reserve()
Deprecated.
|
int |
reserveCount()
Deprecated.
|
boolean |
reserved()
Deprecated.
|
long |
sent()
Deprecated.
|
String |
toString()
Deprecated.
|
boolean |
tryReserve(long id,
IgniteInClosure<Boolean> c)
Deprecated.
|
public GridNioRecoveryDescriptor(boolean pairedConnections,
int queueLimit,
ClusterNode node,
IgniteLogger log)
pairedConnections - True if in/out connections pair is used for communication with node.queueLimit - Maximum size of unacknowledged messages queue.node - Node.log - Logger.public boolean pairedConnections()
True if in/out connections pair is used for communication with node.public long incrementConnectCount()
public ClusterNode node()
public long onReceived()
public long received()
public long sent()
public void lastAcknowledged(long lastAck)
lastAck - Last acknowledged message.public long lastAcknowledged()
public int queueLimit()
public boolean add(SessionWriteRequest req)
req - Write request.False if queue limit is exceeded.public void ackReceived(long rcvCnt)
rcvCnt - Number of messages received by remote node.public long acked()
public boolean onNodeLeft()
False if descriptor is reserved.public Deque<SessionWriteRequest> messagesRequests()
public boolean nodeAlive(@Nullable
ClusterNode node)
node - Node.True if node is not null and has the same order as initial remtoe node.public boolean reserve()
throws InterruptedException
True if reserved.InterruptedException - If interrupted.public void onHandshake(long rcvCnt)
rcvCnt - Number of messages received by remote node.public void onConnected()
public boolean connected()
public boolean reserved()
public Long handshakeIndex()
public void release()
public boolean tryReserve(long id,
IgniteInClosure<Boolean> c)
id - Handshake ID.c - Closure to run on reserve.True if reserved.public int reserveCount()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017