public class ConnectionKey extends Object
| Constructor and Description |
|---|
ConnectionKey(@NotNull UUID nodeId,
int idx) |
ConnectionKey(@NotNull UUID nodeId,
int idx,
long connCnt)
Creates ConnectionKey with false value of dummy flag.
|
ConnectionKey(@NotNull UUID nodeId,
int idx,
long connCnt,
boolean dummy) |
| Modifier and Type | Method and Description |
|---|---|
long |
connectCount() |
int |
connectionIndex() |
boolean |
dummy() |
boolean |
equals(Object o) |
int |
hashCode() |
UUID |
nodeId() |
String |
toString() |
public ConnectionKey(@NotNull
@NotNull UUID nodeId,
int idx)
nodeId - Node ID. Should be not null.idx - Connection index.public ConnectionKey(@NotNull
@NotNull UUID nodeId,
int idx,
long connCnt)
nodeId - Node ID. Should be not null.idx - Connection index.connCnt - Connection counter (set only for incoming connections).public ConnectionKey(@NotNull
@NotNull UUID nodeId,
int idx,
long connCnt,
boolean dummy)
nodeId - Node ID. Should be not null.idx - Connection index.connCnt - Connection counter (set only for incoming connections).dummy - Indicates that session with this ConnectionKey is temporary
(for now dummy sessions are used only for Communication Failure Resolving process).public long connectCount()
public UUID nodeId()
public int connectionIndex()
public boolean dummy()
True if this ConnectionKey is dummy and serves temporary session.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020