public interface Client extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connects with the remote.
|
void |
disconnect()
Closes the connection with the Alluxio remote and does the necessary cleanup.
|
InetSocketAddress |
getAddress() |
InetSocketAddress |
getConfAddress() |
boolean |
isClosed() |
boolean |
isConnected()
Returns the connected status of the client.
|
void connect() throws IOException
IOException
void disconnect()
InetSocketAddress getAddress() throws UnavailableException
InetSocketAddress
of the remoteUnavailableException
- if the primary address cannot be determinedInetSocketAddress getConfAddress() throws UnavailableException
InetSocketAddress
of the configuration remoteUnavailableException
- if the primary address cannot be determinedboolean isConnected()
boolean isClosed()
Copyright © 2023. All Rights Reserved.