C D G I M N Q R S U V 

C

close() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseFutureResult
Closes the result set and prepared statement.
com.opencloud.slee.resources.dbquery - package com.opencloud.slee.resources.dbquery
The Database Query Resource Adaptor API.
commit() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryTransactionalActivity
Call commit on the connection in use by the transaction associated with this result.
commit(long) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseTransaction
Call commit on the connection.
createActivity() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Create a DatabaseQueryActivity that can be used to send a single query with auto-commit on.
createTransaction() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Create and return a DatabaseTransaction object that can be provided to DatabaseQueryProvider.sendQuery(QueryInfo, DatabaseTransaction) to associate multiple synchronous queries with a single transaction and then committed or rolled back.
createTransactionalActivity() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Create a DatabaseQueryActivity that can be used to send one or more queries as part of a transaction.

D

DatabaseFutureResult - Interface in com.opencloud.slee.resources.dbquery
A "future" for retrieving database results when they are available.
DatabaseQueryActivity - Interface in com.opencloud.slee.resources.dbquery
The query activity on which result and failure events are fired.
DatabaseQueryActivityContextInterfaceFactory - Interface in com.opencloud.slee.resources.dbquery
Interface implemented by the SLEE to get activity context interfaces for DatabaseQueryActivity objects.
DatabaseQueryException - Exception in com.opencloud.slee.resources.dbquery
Thrown by the Database Query resource adaptor for any exception that is not caused by a database problem (where SQLException is used) or a timeout (TimeoutException) or no DataSources being available (NoDataSourcesAvailableException).
DatabaseQueryException(String) - Constructor for exception com.opencloud.slee.resources.dbquery.DatabaseQueryException
 
DatabaseQueryException(String, Throwable) - Constructor for exception com.opencloud.slee.resources.dbquery.DatabaseQueryException
 
DatabaseQueryFailureEvent - Interface in com.opencloud.slee.resources.dbquery
A failure event.
DatabaseQueryProvider - Interface in com.opencloud.slee.resources.dbquery
Defines the provider interface used by services to send queries using the Database Query resource adaptor.
DatabaseQueryTransactionalActivity - Interface in com.opencloud.slee.resources.dbquery
The query activity on which result and failure events are fired.
DatabaseResultEvent - Interface in com.opencloud.slee.resources.dbquery
The result event.
DatabaseTransaction - Interface in com.opencloud.slee.resources.dbquery
Defines an interface for synchronous queries to interact with a explicit transaction.

G

getActivityContextInterface(DatabaseQueryActivity) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryActivityContextInterfaceFactory
Get an ACI for a database query activity.
getActivityContextInterface(DatabaseQueryTransactionalActivity) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryActivityContextInterfaceFactory
Get an ACI for a transactional database query activity.
getCause() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryFailureEvent
The exception that caused the failure, if applicable.
getDataSourceNameUsed() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseFutureResult
Which of the configured DataSource names was used for the query.
getDataSourceNameUsed() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseResultEvent
Which of the configured DataSource names was used for the query.
getErrorMessage() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryFailureEvent
Returns a human-readable error message.
getExecuteType() - Method in class com.opencloud.slee.resources.dbquery.Query
 
getExecuteType() - Method in interface com.opencloud.slee.resources.dbquery.QueryInfo
Get the type of execute method to call on the prepared statement.
getExecuteType() - Method in class com.opencloud.slee.resources.dbquery.UpdateQuery
 
getFailureReason() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryFailureEvent
The reason for the failure.
getQueryInfo() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryFailureEvent
Return a reference to the QueryInfo object that was used for the request that generated this failure, or null if this failure event is for a transaction end request (commit or rollback).
getQueryInfo() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseResultEvent
Return a reference to the QueryInfo object that was used for the request that generated this result.
getResult(long) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseFutureResult
Retrieve the result of the execute when it is available.
getResult() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseResultEvent
Return the value returned if this result is for an execute.
getResultSet(long) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseFutureResult
Retrieve the result of the query when it is available.
getResultSet() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseResultEvent
Return the JDBC ResultSet.
getRetryBehaviour() - Method in class com.opencloud.slee.resources.dbquery.Query
 
getRetryBehaviour() - Method in interface com.opencloud.slee.resources.dbquery.QueryInfo
Get the retry behaviour to use for this query.
getRetryBehaviour() - Method in class com.opencloud.slee.resources.dbquery.UpdateQuery
 
getSql() - Method in class com.opencloud.slee.resources.dbquery.Query
 
getSql() - Method in interface com.opencloud.slee.resources.dbquery.QueryInfo
Get the SQL to be passed to Connection.prepareStatement(String).
getSql() - Method in class com.opencloud.slee.resources.dbquery.UpdateQuery
 
getStatement(long) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseFutureResult
Retrieve the Statement that was used to query the Database.
getStatement() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseResultEvent
Return the Statement
getStatementType() - Method in class com.opencloud.slee.resources.dbquery.Query
 
getStatementType() - Method in interface com.opencloud.slee.resources.dbquery.QueryInfo
Get the statement type for this query.
getStatementType() - Method in class com.opencloud.slee.resources.dbquery.UpdateQuery
 
getUpdateResult(long) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseFutureResult
Retrieve the result of the update when it is available.
getUpdateResult() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseResultEvent
Return the value returned if this result is for an update.

I

InsufficientResourcesException - Exception in com.opencloud.slee.resources.dbquery
Thrown by the Database Query resource adaptor when there are insufficient resources (worker threads, connections) to process a request.
InsufficientResourcesException(String) - Constructor for exception com.opencloud.slee.resources.dbquery.InsufficientResourcesException
 
InsufficientResourcesException(String, Throwable) - Constructor for exception com.opencloud.slee.resources.dbquery.InsufficientResourcesException
 
isDataSourceAvailable() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Check if any of the configured data sources are currently available.

M

marshal() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseTransaction
Return a handle that can be later passed to DatabaseQueryProvider.unmarshalTransaction(byte[]).

N

NoDataSourcesAvailableException - Exception in com.opencloud.slee.resources.dbquery
Thrown by the Database Query resource adaptor when none of the configured DataSources are available.
NoDataSourcesAvailableException(String) - Constructor for exception com.opencloud.slee.resources.dbquery.NoDataSourcesAvailableException
 
NoDataSourcesAvailableException(String, Throwable) - Constructor for exception com.opencloud.slee.resources.dbquery.NoDataSourcesAvailableException
 

Q

Query - Class in com.opencloud.slee.resources.dbquery
This is a convenience abstract class for creating a QueryInfo with a QUERY ExecuteType
Query() - Constructor for class com.opencloud.slee.resources.dbquery.Query
Creates a new empty Query with a TRY_ALL RetryBehaviour and a PREPARED StatementType.
Query(String) - Constructor for class com.opencloud.slee.resources.dbquery.Query
Creates a new Query with the specified SQL String, a TRY_ALL RetryBehaviour and a PREPARED StatementType.
Query(String, QueryInfo.RetryBehaviour) - Constructor for class com.opencloud.slee.resources.dbquery.Query
Creates a new Query with the specified SQL String, the specified RetryBehaviour and a PREPARED StatementType.
Query(String, QueryInfo.RetryBehaviour, QueryInfo.StatementType) - Constructor for class com.opencloud.slee.resources.dbquery.Query
Creates a new Query with the specified SQL String, RetryBehaviour and StatementType.
QueryFailureReason - Enum in com.opencloud.slee.resources.dbquery
Enumeration of failure reasons.
QueryInfo - Interface in com.opencloud.slee.resources.dbquery
A callback interface implemented by SBBs to set the SQL statement and parameters for the query.
QueryInfo.ExecuteType - Enum in com.opencloud.slee.resources.dbquery
The type of execute method to call on the prepared statement.
QueryInfo.RetryBehaviour - Enum in com.opencloud.slee.resources.dbquery
Retry behaviour options in the case of multiple data sources.
QueryInfo.StatementType - Enum in com.opencloud.slee.resources.dbquery
The type of Statement.

R

rollback() - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryTransactionalActivity
Call rollback on the connection in use by the transaction associated with this result.
rollback(long) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseTransaction
Call rollback on the connection.

S

sendQuery(QueryInfo) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryActivity
Send the database query asynchronously.
sendQuery(QueryInfo) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Send a request without creating an activity and make the result accessible via a Future-style object.
sendQuery(QueryInfo, DatabaseTransaction) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Send a request without creating an activity and make the result accessible via a Future-style object.
sendQuery(QueryInfo) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryTransactionalActivity
Send a query asynchronously.
setParameters(PreparedStatement) - Method in interface com.opencloud.slee.resources.dbquery.QueryInfo
Set the parameters on the PreparedStatement object created with the SQL returned by QueryInfo.getSql().
setTransactionIsolation(int) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryTransactionalActivity
Set a transaction isolation level.
setTransactionIsolation(int) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseTransaction
Set a transaction isolation level.

U

unmarshalTransaction(byte[]) - Method in interface com.opencloud.slee.resources.dbquery.DatabaseQueryProvider
Return a transaction instance for the given handle.
UpdateQuery - Class in com.opencloud.slee.resources.dbquery
This is a convenience abstract class for creating a QueryInfo with an UPDATE ExecuteType
UpdateQuery() - Constructor for class com.opencloud.slee.resources.dbquery.UpdateQuery
Creates a new empty UpdateQuery with a TRY_ALL RetryBehaviour and a PREPARED StatementType.
UpdateQuery(String) - Constructor for class com.opencloud.slee.resources.dbquery.UpdateQuery
Creates a new UpdateQuery with the specified SQL String, a TRY_ALL RetryBehaviour and a PREPARED StatementType.
UpdateQuery(String, QueryInfo.RetryBehaviour) - Constructor for class com.opencloud.slee.resources.dbquery.UpdateQuery
Creates a new UpdateQuery with the specified SQL String, the specified RetryBehaviour and a PREPARED StatementType.
UpdateQuery(String, QueryInfo.RetryBehaviour, QueryInfo.StatementType) - Constructor for class com.opencloud.slee.resources.dbquery.UpdateQuery
Creates a new UpdateQuery with the specified SQL String, RetryBehaviour and StatementType.

V

valueOf(String) - Static method in enum com.opencloud.slee.resources.dbquery.QueryFailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opencloud.slee.resources.dbquery.QueryInfo.ExecuteType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opencloud.slee.resources.dbquery.QueryInfo.RetryBehaviour
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opencloud.slee.resources.dbquery.QueryInfo.StatementType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.opencloud.slee.resources.dbquery.QueryFailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opencloud.slee.resources.dbquery.QueryInfo.ExecuteType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opencloud.slee.resources.dbquery.QueryInfo.RetryBehaviour
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opencloud.slee.resources.dbquery.QueryInfo.StatementType
Returns an array containing the constants of this enum type, in the order they are declared.
C D G I M N Q R S U V