Class CacheDescriptor

java.lang.Object
org.kiwiproject.consul.cache.CacheDescriptor

public class CacheDescriptor extends Object
A CacheDescriptor describes an instance of a cache. The cache is represented by an endpoint and a key. For instance, a cache targeting "/v1/catalog/service/myService" will be represented by endpoint "catalog.service" and key "myService".
  • Constructor Details

    • CacheDescriptor

      public CacheDescriptor(String endpoint)
    • CacheDescriptor

      public CacheDescriptor(String endpoint, String key)
  • Method Details