org.csc.phynixx.connection
Class PhynixxRecovery<C extends IPhynixxConnection>
java.lang.Object
org.csc.phynixx.connection.PhynixxRecovery<C>
- All Implemented Interfaces:
- IPhynixxRecovery<C>
public class PhynixxRecovery<C extends IPhynixxConnection>
- extends Object
- implements IPhynixxRecovery<C>
Created by Christoph Schmidt-Casdorff on 26.02.14.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhynixxRecovery
public PhynixxRecovery(IPhynixxConnectionFactory<C> connectionFactory)
getLoggerSystemStrategy
public IPhynixxLoggerSystemStrategy<C> getLoggerSystemStrategy()
setLoggerSystemStrategy
public void setLoggerSystemStrategy(IPhynixxLoggerSystemStrategy<C> loggerSystemStrategy)
getConnectionProxyDecorators
public List<IPhynixxConnectionProxyDecorator<C>> getConnectionProxyDecorators()
addConnectionProxyDecorator
public void addConnectionProxyDecorator(IPhynixxConnectionProxyDecorator<C> connectionProxyDecorator)
recover
public void recover(IPhynixxRecovery.IRecoveredManagedConnection<C> recoveredManagedConnectionCallback)
- Description copied from interface:
IPhynixxRecovery
- recovers all connection that have not completed transactions.
The recovered connections are handed to the callback after recovering.
All connections are closed after returning from this method
- Specified by:
recover
in interface IPhynixxRecovery<C extends IPhynixxConnection>
- Parameters:
recoveredManagedConnectionCallback
- callback accepting the recovered connections
Copyright © 2015. All rights reserved.