public class PhynixxRecovery<C extends IPhynixxConnection> extends Object implements IPhynixxRecovery<C>
IPhynixxRecovery.IRecoveredManagedConnection<C>| Constructor and Description |
|---|
PhynixxRecovery(IPhynixxConnectionFactory<C> connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionProxyDecorator(IPhynixxConnectionProxyDecorator<C> connectionProxyDecorator) |
List<IPhynixxConnectionProxyDecorator<C>> |
getConnectionProxyDecorators() |
IPhynixxLoggerSystemStrategy<C> |
getLoggerSystemStrategy() |
void |
recover(IPhynixxRecovery.IRecoveredManagedConnection<C> recoveredManagedConnectionCallback)
recovers all connection that have not completed transactions.
|
void |
setLoggerSystemStrategy(IPhynixxLoggerSystemStrategy<C> loggerSystemStrategy) |
public PhynixxRecovery(IPhynixxConnectionFactory<C> connectionFactory)
public IPhynixxLoggerSystemStrategy<C> getLoggerSystemStrategy()
public void setLoggerSystemStrategy(IPhynixxLoggerSystemStrategy<C> loggerSystemStrategy)
public List<IPhynixxConnectionProxyDecorator<C>> getConnectionProxyDecorators()
public void addConnectionProxyDecorator(IPhynixxConnectionProxyDecorator<C> connectionProxyDecorator)
public void recover(IPhynixxRecovery.IRecoveredManagedConnection<C> recoveredManagedConnectionCallback)
IPhynixxRecoveryrecover in interface IPhynixxRecovery<C extends IPhynixxConnection>recoveredManagedConnectionCallback - callback accepting the recovered connectionsCopyright © 2017. All rights reserved.