Class PendingTouch

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class PendingTouch
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      PendingTouch​(java.util.function.Supplier<java.util.Date> nowSupplier, java.util.function.LongSupplier delayMsSupplier, TouchHandler touchHandler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void idle()  
      void touch​(java.lang.String sessionId)  
      • Methods inherited from class java.lang.Object

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

      • PendingTouch

        public PendingTouch​(java.util.function.Supplier<java.util.Date> nowSupplier,
                            java.util.function.LongSupplier delayMsSupplier,
                            TouchHandler touchHandler)
    • Method Detail

      • touch

        public void touch​(java.lang.String sessionId)
      • idle

        public void idle()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable