vishnu.model.transactions.deadlock
Class AbortiveDeadlockResolutionStrategy

java.lang.Object
  extended by vishnu.model.transactions.deadlock.AbortiveDeadlockResolutionStrategy
All Implemented Interfaces:
DeadlockResolutionStrategy

public class AbortiveDeadlockResolutionStrategy
extends java.lang.Object
implements DeadlockResolutionStrategy

 

Constructor Summary
AbortiveDeadlockResolutionStrategy(DeadlockDetector<Transaction> d)
           
 
Method Summary
 void resolve()
          Resuelve los problemas de deadlock que puedan haber en el grafo de referencia.
 void setWaitForGraph(Graph<Transaction> w)
          Setea el grafo sobre el que va a trabajar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbortiveDeadlockResolutionStrategy

public AbortiveDeadlockResolutionStrategy(DeadlockDetector<Transaction> d)
Method Detail

setWaitForGraph

public void setWaitForGraph(Graph<Transaction> w)
Description copied from interface: DeadlockResolutionStrategy
Setea el grafo sobre el que va a trabajar.

Specified by:
setWaitForGraph in interface DeadlockResolutionStrategy
Parameters:
w - - el grafo a analizar.

resolve

public void resolve()
Description copied from interface: DeadlockResolutionStrategy
Resuelve los problemas de deadlock que puedan haber en el grafo de referencia.

Specified by:
resolve in interface DeadlockResolutionStrategy