Class Store.ProcessingCounter

java.lang.Object
com.hypixel.hytale.component.Store.ProcessingCounter
All Implemented Interfaces:
Lock
Enclosing class:
Store<ECS_TYPE>

private static class Store.ProcessingCounter extends Object implements Lock
  • Field Details

    • count

      private int count
  • Constructor Details

    • ProcessingCounter

      private ProcessingCounter()
  • Method Details

    • isHeld

      public boolean isHeld()
    • lock

      public void lock()
      Specified by:
      lock in interface Lock
    • lockInterruptibly

      public void lockInterruptibly()
      Specified by:
      lockInterruptibly in interface Lock
    • tryLock

      public boolean tryLock()
      Specified by:
      tryLock in interface Lock
    • tryLock

      public boolean tryLock(long time, @Nonnull TimeUnit unit)
      Specified by:
      tryLock in interface Lock
    • unlock

      public void unlock()
      Specified by:
      unlock in interface Lock
    • newCondition

      @Nonnull public Condition newCondition()
      Specified by:
      newCondition in interface Lock