public class ClusterPortManager extends Object
acquirePort(UUID)
and releasePort(UUID, int)
on the
cluster nodes.Constructor and Description |
---|
ClusterPortManager(Ignite ignite,
String poolName,
int from,
int cnt)
Constructs a new instance of cluster port manager.
|
Modifier and Type | Method and Description |
---|---|
int |
acquirePort(UUID nodeId)
Acquires free port on the specified node.
|
void |
destroy()
Destroys port manager and related caches.
|
void |
releasePort(UUID nodeId,
int port)
Releases acquired port on the specified node.
|
public int acquirePort(UUID nodeId)
nodeId
- Node identifier.public void releasePort(UUID nodeId, int port)
nodeId
- Node identifier.port
- Acquired port to be free.public void destroy()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024