public interface TDarkConnection extends TConnection
DEFAULT_TIMEOUT
Modifier and Type | Method and Description |
---|---|
TInvocation |
getInvocation()
Return the invocation.
|
boolean |
isFirstCallPending()
Indicates whether the first call for a connection is pending.
|
boolean |
isHealthy()
Indicates whether the connection is still healthy.
|
boolean |
isInDangerToBeStale()
Indicates whether the undelyign physical Tamino connection might have been timed out
due to the nonActivityTimeout.
|
void |
resetTransactionParameters()
Resets the transactional parameters to represent the Tamino defaults.
|
void |
resetTransactionTimeoutParameters()
Resets the timeout parameters to represent the Tamino defaults.
|
void |
setFirstCallPending(boolean b)
Sets that the the first call for a connection is pending.
|
void |
setKeepAlive(boolean keepAlive)
Set the keep alive feature of the connection.
Setting keepAlive to true will cause this connection to schedule a task
that periodically will try to refresh the databases nonActivityTimeout.Otherwise it will stop the keep alive task. |
close, getIsolationDegree, getLocale, getLockMode, getLockwaitMode, getMaximumTransactionDuration, getNonActivityTimeout, getSocketTimeout, getTransaction, isActive, isClosed, newAdministrationAccessor, newNonXMLObjectAccessor, newSchemaDefinition2Accessor, newSchemaDefinition3Accessor, newStreamAccessor, newSystemAccessor, newXMLObjectAccessor, prepareQuery, reset, setGroups, setIsolationDegree, setLockMode, setLockwaitMode, setMaximumTransactionDuration, setNonActivityTimeout, setSocketTimeout, useAutoCommitMode, useGlobalTransactionMode, useLocalTransactionMode, usesAutoCommitMode, usesGlobalTransactionMode, usesLocalTransactionMode
void setKeepAlive(boolean keepAlive)
keepAlive
to true
will cause this connection to schedule a task
that periodically will try to refresh the databases nonActivityTimeout.keepAlive
- on true this connection tries to refresh the timeout; otherwise not.void resetTransactionParameters()
void resetTransactionTimeoutParameters()
TInvocation getInvocation()
boolean isHealthy()
boolean isInDangerToBeStale()
boolean isFirstCallPending()
void setFirstCallPending(boolean b)
com.softwareag.tamino.db.api.connection.TDarkConnection.isFirstCallPending()
Copyright (c) 2017 Software AG. All Rights Reserved.