org.modeshape.graph
Class Graph.LockAction<T>

java.lang.Object
  extended by org.modeshape.graph.Graph.AbstractAction<T>
      extended by org.modeshape.graph.Graph.LockAction<T>
All Implemented Interfaces:
Graph.Conjunction<T>, Graph.LockScope<Graph.LockTimeout<T>>
Enclosing class:
Graph

@NotThreadSafe
protected abstract class Graph.LockAction<T>
extends Graph.AbstractAction<T>
implements Graph.LockScope<Graph.LockTimeout<T>>


Method Summary
 Graph.LockTimeout<T> andItsDescendants()
           
 Graph.LockTimeout<T> only()
           
protected abstract  T submit(Location lock, LockBranchRequest.LockScope lockScope, long lockTimeoutInMillis)
           
 
Methods inherited from class org.modeshape.graph.Graph.AbstractAction
and
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

submit

protected abstract T submit(Location lock,
                            LockBranchRequest.LockScope lockScope,
                            long lockTimeoutInMillis)

andItsDescendants

public Graph.LockTimeout<T> andItsDescendants()
Specified by:
andItsDescendants in interface Graph.LockScope<Graph.LockTimeout<T>>

only

public Graph.LockTimeout<T> only()
Specified by:
only in interface Graph.LockScope<Graph.LockTimeout<T>>


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.