public class MapReduceClient extends Object
| Constructor and Description |
|---|
MapReduceClient(String cluster,
Collection<String> addrs)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquire()
Increments usage count.
|
GridClient |
client()
Gets the client.
|
String |
cluster() |
boolean |
release()
Decrements the usages of the client and closes it if this is the last usage.
|
public MapReduceClient(String cluster, Collection<String> addrs)
cluster - Cluster name.addrs - Addresses.public String cluster()
public GridClient client() throws IOException
IOExceptionpublic boolean acquire()
True if succeeded and client can be used.public boolean release()
True if client can be closed safely by the called.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019