Class IdleConnectionHandler.TimeValues

  • Enclosing class:
    IdleConnectionHandler

    private static class IdleConnectionHandler.TimeValues
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long timeAdded  
      private long timeExpires  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeValues​(long now, long validDuration, java.util.concurrent.TimeUnit validUnit)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • timeAdded

        private final long timeAdded
      • timeExpires

        private final long timeExpires
    • Constructor Detail

      • TimeValues

        TimeValues​(long now,
                   long validDuration,
                   java.util.concurrent.TimeUnit validUnit)
        Parameters:
        now - The current time in milliseconds
        validDuration - The duration this connection is valid for
        validUnit - The unit of time the duration is specified in.