| java.lang.Object org.continuent.sequoia.controller.virtualdatabase.ConnectionContext
ConnectionContext | public class ConnectionContext implements Serializable(Code) | | This class defines a ConnectionContext to carry information about the
connection to gather metadata.
author: Emmanuel Cecchet version: 1.0 |
Constructor Summary | |
public | ConnectionContext(String login, boolean isTransaction, long transactionId, boolean isPersistent, long persistentId) |
ConnectionContext | public ConnectionContext(String login, boolean isTransaction, long transactionId, boolean isPersistent, long persistentId)(Code) | | Creates a new ConnectionContext object
Parameters: login - login of the connection Parameters: isTransaction - true if the connection is not in autocommit Parameters: transactionId - transaction id (if isTransaction is true) Parameters: isPersistent - true if the connection is persistent Parameters: persistentId - persistent connection id if the connection ispersistent |
getLogin | final public String getLogin()(Code) | | Returns the login value.
Returns the login. |
getPersistentConnectionId | final public long getPersistentConnectionId()(Code) | | Returns the persistentConnectionId value.
Returns the persistentConnectionId. |
getTransactionId | final public long getTransactionId()(Code) | | Returns the transaction id (only makes sense if isStartedTransaction is
true).
Returns the transaction id. |
isPersistentConnection | final public boolean isPersistentConnection()(Code) | | Returns the isPersistentConnection value.
Returns the isPersistentConnection. |
isStartedTransaction | final public boolean isStartedTransaction()(Code) | | Returns the isStartedTransaction value.
Returns the isStartedTransaction. |
setStartedTransaction | final public void setStartedTransaction(boolean isStartedTransaction)(Code) | | Sets the isStartedTransaction value.
Parameters: isStartedTransaction - The isStartedTransaction to set. |
|
|