C - Typ of the connectionpublic interface IPhynixxManagedConnectionListener<C extends IPhynixxConnection>
| Modifier and Type | Method and Description |
|---|---|
void |
connectionCommitted(IManagedConnectionCommitEvent<C> event)
connectionCommitted - connection is committed
|
void |
connectionCommitting(IManagedConnectionCommitEvent<C> event)
connection enters state 'committing' (connection is to be committed)
|
void |
connectionErrorOccurred(IManagedConnectionEvent<C> event)
connectionErrorOccurred is triggered when a fatal error,
such as the server is crashing, causes the connection to be lost
|
void |
connectionFreed(IManagedConnectionEvent<C> event)
connection dereferenced
|
void |
connectionPrepared(IManagedConnectionEvent<C> event)
connection is prepared
|
void |
connectionPreparing(IManagedConnectionEvent<C> event)
connection enters state 'preparing'
|
void |
connectionRecovered(IManagedConnectionEvent<C> event)
connection is recovered
|
void |
connectionRecovering(IManagedConnectionEvent<C> event)
connection enters state 'recovering'
|
void |
connectionReleased(IManagedConnectionEvent<C> event)
called after the connection is close.
|
void |
connectionRequiresTransaction(IManagedConnectionEvent<C> event)
connectionRequiresTransaction - an action should be performed that
must be transactional
|
void |
connectionRequiresTransactionExecuted(IManagedConnectionEvent<C> event)
connectionRequiresTransaction - an action was performed that
must be transactional.
|
void |
connectionReset(IManagedConnectionEvent<C> event)
called before the connection is opened
|
void |
connectionRolledback(IManagedConnectionEvent<C> event)
connectionRolledback - the underlying connection was rolledback
|
void |
connectionRollingBack(IManagedConnectionEvent<C> event)
starts rolling back the connection
|
void connectionReset(IManagedConnectionEvent<C> event)
event - current connectionvoid connectionReleased(IManagedConnectionEvent<C> event)
ICloseable.isClosed() is trueevent - current connectionvoid connectionFreed(IManagedConnectionEvent<C> event)
void connectionErrorOccurred(IManagedConnectionEvent<C> event)
event - current connectionvoid connectionRequiresTransaction(IManagedConnectionEvent<C> event)
event - current connectionvoid connectionRequiresTransactionExecuted(IManagedConnectionEvent<C> event)
event - current connectionvoid connectionRollingBack(IManagedConnectionEvent<C> event)
event - void connectionRolledback(IManagedConnectionEvent<C> event)
event - void connectionCommitting(IManagedConnectionCommitEvent<C> event)
event - describes the context of the event e.g. the underlying connectionvoid connectionCommitted(IManagedConnectionCommitEvent<C> event)
event - void connectionPreparing(IManagedConnectionEvent<C> event)
event - void connectionPrepared(IManagedConnectionEvent<C> event)
void connectionRecovering(IManagedConnectionEvent<C> event)
event - void connectionRecovered(IManagedConnectionEvent<C> event)
Copyright © 2017. All rights reserved.