final class jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker
  super_class: java.lang.Object
{
  final java.time.Duration max;
    descriptor: Ljava/time/Duration;
    flags: (0x0010) ACC_FINAL

  final java.util.concurrent.atomic.AtomicLong startTime;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0010) ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 127
            ldc Ljdk/internal/net/http/MultiExchange;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.time.Duration);
    descriptor: (Ljava/time/Duration;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker this
        start local 1 // java.time.Duration connectTimeout
         0: .line 130
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 129
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.startTime:Ljava/util/concurrent/atomic/AtomicLong;
         2: .line 131
            aload 0 /* this */
            aload 1 /* connectTimeout */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.time.Duration
            putfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.max:Ljava/time/Duration;
         3: .line 132
            return
        end local 1 // java.time.Duration connectTimeout
        end local 0 // jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0            this  Ljdk/internal/net/http/MultiExchange$ConnectTimeoutTracker;
            0    4     1  connectTimeout  Ljava/time/Duration;
    MethodParameters:
                Name  Flags
      connectTimeout  

  java.time.Duration getRemaining();
    descriptor: ()Ljava/time/Duration;
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker this
         0: .line 135
            invokestatic java.lang.System.nanoTime:()J
            lstore 1 /* now */
        start local 1 // long now
         1: .line 136
            aload 0 /* this */
            getfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.startTime:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_0
            lload 1 /* now */
            invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndExchange:(JJ)J
            lstore 3 /* previous */
        start local 3 // long previous
         2: .line 137
            lload 3 /* previous */
            lconst_0
            lcmp
            ifeq 3
            aload 0 /* this */
            getfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.max:Ljava/time/Duration;
            invokevirtual java.time.Duration.isZero:()Z
            ifeq 4
      StackMap locals: long long
      StackMap stack:
         3: aload 0 /* this */
            getfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.max:Ljava/time/Duration;
            areturn
         4: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.max:Ljava/time/Duration;
            lload 1 /* now */
            lload 3 /* previous */
            lsub
            invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
            invokevirtual java.time.Duration.minus:(Ljava/time/Duration;)Ljava/time/Duration;
            astore 5 /* remaining */
        start local 5 // java.time.Duration remaining
         5: .line 139
            getstatic jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.$assertionsDisabled:Z
            ifne 6
            aload 5 /* remaining */
            aload 0 /* this */
            getfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.max:Ljava/time/Duration;
            invokevirtual java.time.Duration.compareTo:(Ljava/time/Duration;)I
            ifle 6
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 140
      StackMap locals: java.time.Duration
      StackMap stack:
            aload 5 /* remaining */
            invokevirtual java.time.Duration.isNegative:()Z
            ifeq 7
            getstatic java.time.Duration.ZERO:Ljava/time/Duration;
            goto 8
      StackMap locals:
      StackMap stack:
         7: aload 5 /* remaining */
      StackMap locals:
      StackMap stack: java.time.Duration
         8: areturn
        end local 5 // java.time.Duration remaining
        end local 3 // long previous
        end local 1 // long now
        end local 0 // jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Ljdk/internal/net/http/MultiExchange$ConnectTimeoutTracker;
            1    9     1        now  J
            2    9     3   previous  J
            5    9     5  remaining  Ljava/time/Duration;

  void reset();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker this
         0: .line 143
            aload 0 /* this */
            getfield jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker.startTime:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_0
            invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
            return
        end local 0 // jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/MultiExchange$ConnectTimeoutTracker;
}
SourceFile: "MultiExchange.java"
NestHost: jdk.internal.net.http.MultiExchange
InnerClasses:
  private final ConnectTimeoutTracker = jdk.internal.net.http.MultiExchange$ConnectTimeoutTracker of jdk.internal.net.http.MultiExchange