Package 

Class Debouncer


  • @ApiStatus.Internal() 
    public class Debouncer
    
                        

    A simple time-based debouncing mechanism

    • Constructor Summary

      Constructors 
      Constructor Description
      Debouncer(ICurrentDateProvider timeProvider, long waitTimeMs, int maxExecutions)
    • Method Summary

      Modifier and Type Method Description
      boolean checkForDebounce()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Debouncer

        Debouncer(ICurrentDateProvider timeProvider, long waitTimeMs, int maxExecutions)