
io.envoyproxy.controlplane.cache.Cache Maven / Gradle / Ivy
package io.envoyproxy.controlplane.cache;
import java.util.Collection;
import javax.annotation.concurrent.ThreadSafe;
/**
* {@code Cache} is a generic config cache with support for watchers.
*/
@ThreadSafe
public interface Cache extends ConfigWatcher {
/**
* Returns all known groups.
*
*/
Collection groups();
/**
* Returns the current {@link StatusInfo} for the given group.
*
* @param group the node group whose status is being fetched
*/
StatusInfo statusInfo(T group);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy