Interface Metrics


public interface Metrics
Pico Metrics.
  • Method Details

    • serviceCount

      Optional<Integer> serviceCount()
      The total service count in the registry.
      Returns:
      total service count
    • lookupCount

      Optional<Integer> lookupCount()
      The total number of Services::lookup() calls since jvm start, or since last reset.
      Returns:
      lookup count
    • cacheLookupCount

      Optional<Integer> cacheLookupCount()
      The total number of Services::lookup() calls that were attempted against the lookup cache. This will be empty if caching is disabled.
      Returns:
      cache lookup count
      See Also:
    • cacheHitCount

      Optional<Integer> cacheHitCount()
      The total number of Services:lookup() calls that were successfully resolved via cache. This will be a value less than or equal to cacheLookupCount().
      Returns:
      cache hit count