Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MyLockOrder (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *
       * <pre>{@code
       * enum MyLockOrder {
       *   FIRST, SECOND, THIRD;
       * }
       *
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =
       *   CycleDetectingLockFactory.newInstanceWithExplicitOrdering(Policies.THROW);
       *
       * Lock lock1 = factory.newReentrantLock(MyLockOrder.FIRST);
       * Lock lock2 = factory.newReentrantLock(MyLockOrder.SECOND);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top