private static final class BaseCluster.WrappedServer extends java.lang.Object implements Server
| Modifier and Type | Field and Description |
|---|---|
private ClusterableServer |
wrapped |
| Constructor and Description |
|---|
WrappedServer(ClusterableServer server) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(long maxWaitTime,
java.util.concurrent.TimeUnit timeUnit) |
ServerDescription |
getDescription()
Gets the description of this server.
|
void |
invalidate() |
private final ClusterableServer wrapped
public WrappedServer(ClusterableServer server)
public ServerDescription getDescription()
ServergetDescription in interface Serverpublic Connection getConnection(long maxWaitTime, java.util.concurrent.TimeUnit timeUnit)
getConnection in interface Serverpublic void invalidate()
invalidate in interface Server