Package net.devslash

Class TimedTicket

  • All Implemented Interfaces:

    
    public final class TimedTicket
    
                        

    This class is split out from the Rate limiter to allow for better testing It effectively should manage the timesteps in which a request ticket can be allowed

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long timeTillNextRelease()
      final Unit setLastRelease()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait