public interface LiveViewMultiConnection extends LiveViewConnectionInterface representing a connection to a pool of servers (retrieved via
LiveViewConnectionFactory.getConnection(MultiConnectionConfig, boolean).) Note that while this is a
LiveViewConnection, some operations of that interface will fail with an appropriate error code
For example (but not limited to), attempting to upload new
AlertRules or acquiring
TablePublishers will fail. Operations such as these should be performed directly against the intended target server using a normal
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
List<? extends LiveViewConnectionControl>
getConnectionControls()This list will have a one-for-one correspondence with the list of ConnectionConfigs or the list of URIs that were used to create this LiveViewMultiConnection.
getCurrentConnection()LiveViewConnectionControl of the "current" connection, if there is one.
Methods inherited from interface com.streambase.liveview.client.LiveViewConnection
checkPermission, checkPermissions, close, deleteRows, describeQuery, executeSnapshotQuery, getAlertManager, getCapability, getClientController, getConnectionURI, getSendTupleInfo, getServerUtilityDataProvider, getTable, getTableAdminManager, hasCapability, isConnected, listTables, listTables, registerQuery, registerTableListListener, sendTupleAction
LiveViewConnectionControl getCurrentConnection()LiveViewConnectionControl of the "current" connection, if there is one. The current connection will always have a ConnectionState of CONNECTED. (At least, it did when this method returned.) If no connection is currently connected, this will return null.
- LiveViewConnectionControl of the "current" connection, if there is one.
List<? extends LiveViewConnectionControl> getConnectionControls()
- All the connections currently under consideration.