public abstract class HadoopAbstractCommunicationClient extends Object implements HadoopCommunicationClient
| Constructor and Description |
|---|
HadoopAbstractCommunicationClient() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
close() |
boolean |
closed() |
void |
forceClose()
Forces client close.
|
long |
getIdleTime()
Gets idle time of this client.
|
protected void |
markUsed()
Updates used time.
|
void |
release()
Releases this client by decreasing reservations.
|
boolean |
reserve() |
boolean |
reserved() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsendMessagepublic boolean close()
close in interface HadoopCommunicationClientTrue if client has been closed by this call,
false if failed to close client (due to concurrent reservation or concurrent close).public void forceClose()
forceClose in interface HadoopCommunicationClientpublic boolean closed()
closed in interface HadoopCommunicationClientTrue if client is closed;public boolean reserve()
reserve in interface HadoopCommunicationClientTrue if client was reserved, false otherwise.public void release()
release in interface HadoopCommunicationClientpublic boolean reserved()
reserved in interface HadoopCommunicationClientTrue if client was reserved.public long getIdleTime()
getIdleTime in interface HadoopCommunicationClientprotected void markUsed()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019