Uses of Class
com.google.common.util.concurrent.CycleDetectingLockFactory.LockGraphNode
-
Packages that use CycleDetectingLockFactory.LockGraphNode Package Description com.google.common.util.concurrent Concurrency utilities. -
-
Uses of CycleDetectingLockFactory.LockGraphNode in com.google.common.util.concurrent
Fields in com.google.common.util.concurrent declared as CycleDetectingLockFactory.LockGraphNode Modifier and Type Field Description private CycleDetectingLockFactory.LockGraphNodeCycleDetectingLockFactory.CycleDetectingReentrantLock. lockGraphNodeprivate CycleDetectingLockFactory.LockGraphNodeCycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock. lockGraphNodeFields in com.google.common.util.concurrent with type parameters of type CycleDetectingLockFactory.LockGraphNode Modifier and Type Field Description private static java.lang.ThreadLocal<java.util.ArrayList<CycleDetectingLockFactory.LockGraphNode>>CycleDetectingLockFactory. acquiredLocksTracks the currently acquired locks for each Thread, kept up to date by calls toCycleDetectingLockFactory.aboutToAcquire(CycleDetectingLock)andCycleDetectingLockFactory.lockStateChanged(CycleDetectingLock).(package private) java.util.Map<CycleDetectingLockFactory.LockGraphNode,CycleDetectingLockFactory.ExampleStackTrace>CycleDetectingLockFactory.LockGraphNode. allowedPriorLocksThe map tracking the locks that are known to be acquired before this lock, each associated with an example stack trace.(package private) java.util.Map<CycleDetectingLockFactory.LockGraphNode,CycleDetectingLockFactory.PotentialDeadlockException>CycleDetectingLockFactory.LockGraphNode. disallowedPriorLocksThe map tracking lock nodes that can cause a lock acquisition cycle if acquired before this node.private java.util.Map<E,CycleDetectingLockFactory.LockGraphNode>CycleDetectingLockFactory.WithExplicitOrdering. lockGraphNodesprivate static java.util.concurrent.ConcurrentMap<java.lang.Class<? extends java.lang.Enum>,java.util.Map<? extends java.lang.Enum,CycleDetectingLockFactory.LockGraphNode>>CycleDetectingLockFactory. lockGraphNodesPerTypeMethods in com.google.common.util.concurrent that return CycleDetectingLockFactory.LockGraphNode Modifier and Type Method Description CycleDetectingLockFactory.LockGraphNodeCycleDetectingLockFactory.CycleDetectingLock. getLockGraphNode()CycleDetectingLockFactory.LockGraphNodeCycleDetectingLockFactory.CycleDetectingReentrantLock. getLockGraphNode()CycleDetectingLockFactory.LockGraphNodeCycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock. getLockGraphNode()Methods in com.google.common.util.concurrent that return types with arguments of type CycleDetectingLockFactory.LockGraphNode Modifier and Type Method Description (package private) static <E extends java.lang.Enum<E>>
java.util.Map<E,CycleDetectingLockFactory.LockGraphNode>CycleDetectingLockFactory. createNodes(java.lang.Class<E> clazz)For a given Enum type, creates an immutable map from each of the Enum's values to a corresponding LockGraphNode, with theallowedPriorLocksanddisallowedPriorLocksprepopulated with nodes according to the natural ordering of the associated Enum values.private static java.util.Map<? extends java.lang.Enum,CycleDetectingLockFactory.LockGraphNode>CycleDetectingLockFactory. getOrCreateNodes(java.lang.Class<? extends java.lang.Enum> clazz)Methods in com.google.common.util.concurrent with parameters of type CycleDetectingLockFactory.LockGraphNode Modifier and Type Method Description (package private) voidCycleDetectingLockFactory.LockGraphNode. checkAcquiredLock(CycleDetectingLockFactory.Policy policy, CycleDetectingLockFactory.LockGraphNode acquiredLock)Checks the acquisition-ordering betweenthis, which is about to be acquired, and the specifiedacquiredLock.private CycleDetectingLockFactory.ExampleStackTraceCycleDetectingLockFactory.LockGraphNode. findPathTo(CycleDetectingLockFactory.LockGraphNode node, java.util.Set<CycleDetectingLockFactory.LockGraphNode> seen)Performs a depth-first traversal of the graph edges defined by each node'sallowedPriorLocksto find a path betweenthisand the specifiedlock.Method parameters in com.google.common.util.concurrent with type arguments of type CycleDetectingLockFactory.LockGraphNode Modifier and Type Method Description (package private) voidCycleDetectingLockFactory.LockGraphNode. checkAcquiredLocks(CycleDetectingLockFactory.Policy policy, java.util.List<CycleDetectingLockFactory.LockGraphNode> acquiredLocks)private CycleDetectingLockFactory.ExampleStackTraceCycleDetectingLockFactory.LockGraphNode. findPathTo(CycleDetectingLockFactory.LockGraphNode node, java.util.Set<CycleDetectingLockFactory.LockGraphNode> seen)Performs a depth-first traversal of the graph edges defined by each node'sallowedPriorLocksto find a path betweenthisand the specifiedlock.Constructors in com.google.common.util.concurrent with parameters of type CycleDetectingLockFactory.LockGraphNode Constructor Description CycleDetectingReentrantLock(CycleDetectingLockFactory.LockGraphNode lockGraphNode, boolean fair)CycleDetectingReentrantReadWriteLock(CycleDetectingLockFactory.LockGraphNode lockGraphNode, boolean fair)ExampleStackTrace(CycleDetectingLockFactory.LockGraphNode node1, CycleDetectingLockFactory.LockGraphNode node2)PotentialDeadlockException(CycleDetectingLockFactory.LockGraphNode node1, CycleDetectingLockFactory.LockGraphNode node2, CycleDetectingLockFactory.ExampleStackTrace conflictingStackTrace)Constructor parameters in com.google.common.util.concurrent with type arguments of type CycleDetectingLockFactory.LockGraphNode Constructor Description WithExplicitOrdering(CycleDetectingLockFactory.Policy policy, java.util.Map<E,CycleDetectingLockFactory.LockGraphNode> lockGraphNodes)
-