K - The type of key used to identify the server.public class ConnectionInfo<K> extends Object
| Constructor and Description |
|---|
ConnectionInfo(Connection connection,
K connectionKey)
Creates a new ConnectionInfo.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Returns the connection to the primary server.
|
K |
getConnectionKey()
Returns the primary server.
|
public ConnectionInfo(Connection connection, K connectionKey)
connection - The connection to the primary server.connectionKey - The primary server.public Connection getConnection()
public K getConnectionKey()
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.