Interface HighWebsocketLatency

All Superinterfaces:
Entity
All Known Implementing Classes:
HighWebsocketLatencyImpl

public interface HighWebsocketLatency extends Entity
Fired when a shard's heartbeat latency is higher than the value configured in CatnipOptions.highLatencyThreshold()
Since:
8/19/19.
Author:
amy
  • Method Details

    • shardInfo

      @Nonnull @CheckReturnValue ShardInfo shardInfo()
      Returns:
      Information about which shard is experiencing high latency.
    • latency

      @CheckReturnValue long latency()
      Returns:
      The latency of the shard, in milliseconds.