Class Striped.PaddedSemaphore

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Striped<L>

    private static class Striped.PaddedSemaphore
    extends java.util.concurrent.Semaphore
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long unused1  
      (package private) long unused2  
      (package private) long unused3  
    • Constructor Summary

      Constructors 
      Constructor Description
      PaddedSemaphore​(int permits)  
    • Method Summary

      • Methods inherited from class java.util.concurrent.Semaphore

        acquire, acquire, acquireUninterruptibly, acquireUninterruptibly, availablePermits, drainPermits, getQueuedThreads, getQueueLength, hasQueuedThreads, isFair, reducePermits, release, release, toString, tryAcquire, tryAcquire, tryAcquire, tryAcquire
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • unused1

        long unused1
      • unused2

        long unused2
      • unused3

        long unused3
    • Constructor Detail

      • PaddedSemaphore

        PaddedSemaphore​(int permits)