com.softwareag.tamino.db.api.invocation
Interface TRetryInvocation

All Superinterfaces:
TInvocation
All Known Implementing Classes:
TAbstractInvocation, THTTPInvocation, THTTPSInvocation, TWSLInvocation

public interface TRetryInvocation
extends TInvocation

TRetryInvocation defines operations on the invocation specific for the retry handler(s). This interface unveils some operations that should normaly not seen by other clients.

Version:
$Revision: 1.3 $
Author:
Stefan Liebig

Method Summary
 TInputStream doInvoke(TCommandStatement commandStatement, java.lang.String collection, java.lang.String doctype, java.lang.String docname, boolean useTransactionMode)
          Invokes a specific command given by a TCommandStatement on an underlying Tamino database.
 TTransactionModeCoordinator getTransactionModeCoordinator()
          Gets the current transaction mode coordinator.
 
Methods inherited from interface com.softwareag.tamino.db.api.invocation.TInvocation
close, getDatabaseUri, getLastExecutedCommandStatement, getLastNonActivityTimeoutRelevantInvokeTimeMillis, getLocale, getPooledConnectionReconnectHandler, getSocketTimeout, invoke, invoke, invoke, isClosed, setLocale, setPooledConnectionReconnectHandler, setSocketTimeout, setTransactionModeCoordinator, supports
 

Method Detail

doInvoke

TInputStream doInvoke(TCommandStatement commandStatement,
                      java.lang.String collection,
                      java.lang.String doctype,
                      java.lang.String docname,
                      boolean useTransactionMode)
                      throws TInvocationException
Invokes a specific command given by a TCommandStatement on an underlying Tamino database. This version of invoke gives more control of whether a transaction state that has been set in advance is considered for the communication with Tamino or not. The result is handed back as a TInputStream instance.

Parameters:
commandStatement - spcifies the concrete action that should be fullfilled.
collection - is the collection of the Tamino DB where the object is contained in.
doctype - within a schema of a collection to which the statement is related.
docname - denotes the docname under which a specific document might be accessible.
useTransactionState - specifies whether the transaction state shall be considered.
Returns:
TInputStream representing Tamino's response as a core input stream.
Throws:
TInvocationException - due to any problems that can occur when performing the invocation on Tamino.

getTransactionModeCoordinator

TTransactionModeCoordinator getTransactionModeCoordinator()
Gets the current transaction mode coordinator.

Returns:
the current transaction mode coordinator if given, null otherwise.


Copyright (c) 2013 Software AG. All Rights Reserved.