All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.controlplane.cache.StatusInfo Maven / Gradle / Ivy

The newest version!
package io.envoyproxy.controlplane.cache;

import io.envoyproxy.envoy.config.core.v3.Node;

/**
 * {@code StatusInfo} tracks the state for remote envoy nodes.
 */
public interface StatusInfo {
  /**
   * Returns the timestamp of the last discovery watch request.
   */
  long lastWatchRequestTime();

  /**
   * Returns the node grouping represented by this status, generated via
   * {@link NodeGroup#hash(Node)} or {@link NodeGroup#hash(Node)}.
   */
  T nodeGroup();

  /**
   * Returns the number of open watches.
   */
  int numWatches();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy