org.csc.phynixx.connection
Class PhynixxRecovery<C extends IPhynixxConnection>

java.lang.Object
  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.csc.phynixx.connection.IPhynixxRecovery
IPhynixxRecovery.IRecoveredManagedConnection<C>
 
Constructor Summary
PhynixxRecovery(IPhynixxConnectionFactory<C> connectionFactory)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhynixxRecovery

public PhynixxRecovery(IPhynixxConnectionFactory<C> connectionFactory)
Method Detail

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.