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.LockGraphNode
CycleDetectingLockFactory.CycleDetectingReentrantLock. lockGraphNode
private CycleDetectingLockFactory.LockGraphNode
CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock. lockGraphNode
Fields 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. acquiredLocks
Tracks 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. allowedPriorLocks
The 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. disallowedPriorLocks
The 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. lockGraphNodes
private static java.util.concurrent.ConcurrentMap<java.lang.Class<? extends java.lang.Enum>,java.util.Map<? extends java.lang.Enum,CycleDetectingLockFactory.LockGraphNode>>
CycleDetectingLockFactory. lockGraphNodesPerType
Methods in com.google.common.util.concurrent that return CycleDetectingLockFactory.LockGraphNode Modifier and Type Method Description CycleDetectingLockFactory.LockGraphNode
CycleDetectingLockFactory.CycleDetectingLock. getLockGraphNode()
CycleDetectingLockFactory.LockGraphNode
CycleDetectingLockFactory.CycleDetectingReentrantLock. getLockGraphNode()
CycleDetectingLockFactory.LockGraphNode
CycleDetectingLockFactory.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 theallowedPriorLocks
anddisallowedPriorLocks
prepopulated 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) void
CycleDetectingLockFactory.LockGraphNode. checkAcquiredLock(CycleDetectingLockFactory.Policy policy, CycleDetectingLockFactory.LockGraphNode acquiredLock)
Checks the acquisition-ordering betweenthis
, which is about to be acquired, and the specifiedacquiredLock
.private CycleDetectingLockFactory.ExampleStackTrace
CycleDetectingLockFactory.LockGraphNode. findPathTo(CycleDetectingLockFactory.LockGraphNode node, java.util.Set<CycleDetectingLockFactory.LockGraphNode> seen)
Performs a depth-first traversal of the graph edges defined by each node'sallowedPriorLocks
to find a path betweenthis
and the specifiedlock
.Method parameters in com.google.common.util.concurrent with type arguments of type CycleDetectingLockFactory.LockGraphNode Modifier and Type Method Description (package private) void
CycleDetectingLockFactory.LockGraphNode. checkAcquiredLocks(CycleDetectingLockFactory.Policy policy, java.util.List<CycleDetectingLockFactory.LockGraphNode> acquiredLocks)
private CycleDetectingLockFactory.ExampleStackTrace
CycleDetectingLockFactory.LockGraphNode. findPathTo(CycleDetectingLockFactory.LockGraphNode node, java.util.Set<CycleDetectingLockFactory.LockGraphNode> seen)
Performs a depth-first traversal of the graph edges defined by each node'sallowedPriorLocks
to find a path betweenthis
and 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)
-