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()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019