@Beta @ThreadSafe public static interface CycleDetectingLockFactory.Policy
CycleDetectingLockFactory.Policies or specify a custom implementation. Implementations must
|Modifier and Type
|Method and Description
Called when a potential deadlock is encountered.
exception and/or execute other desired logic.
Note that the method will be called even upon an invocation of
tryLock() technically recovers from deadlock by eventually timing out, this behavior
is chosen based on the assumption that it is the application's wish to prohibit any cyclical
Copyright © 2010–2017. All rights reserved.