java.lang.Object
net.i2p.client.streaming.impl.Connection.WindowCeilingSample
Enclosing class:
Connection

private static final class Connection.WindowCeilingSampleextends Object
One Connection.getWindowCeiling() cache entry: ceiling + sample time as a single atomically-published value (see the field's Javadoc).
  • Field Details

    • ceiling

      final int ceiling
      Computed ceiling in messages.
    • at

      final long at
      Router-clock ms of the sample.
  • Constructor Details

    • WindowCeilingSample

      WindowCeilingSample(int ceiling, long at)
      Immutable ceiling/timestamp pair, published in one shot.
      Parameters:
      ceiling - computed ceiling in messages
      at - router-clock ms of the sample