public class CacheClient extends Object implements AutoCloseable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected InetAddress |
address
The
InetAddress on which to connect to the CacheLoaderServer. |
protected Client |
client
The
Client connection to the CacheLoaderServer. |
protected int |
port
The port on which to connect to the
CacheLoaderServer. |
| Modifier | Constructor and Description |
|---|---|
protected |
CacheClient(InetAddress address,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Client |
getClient()
Obtains the internal
Client used to communicate with the
CacheLoaderServer. |
protected InetAddress address
InetAddress on which to connect to the CacheLoaderServer.protected int port
CacheLoaderServer.protected transient Client client
Client connection to the CacheLoaderServer.protected CacheClient(InetAddress address, int port)
protected Client getClient()
Client used to communicate with the
CacheLoaderServer. If the Client is not connected, a
connection will be attempted.Clientpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2014. All Rights Reserved.