Interface Metrics

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
Metrics.BuilderBase.MetricsImpl

public interface Metrics extends Prototype.Api
Deprecated.
Helidon inject is deprecated and will be replaced in a future version
Metrics.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Deprecated.
    Fluent API builder for Metrics.
    static class 
    Deprecated.
    Fluent API builder base for Metrics.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Create a new fluent API builder to customize configuration.
    builder(Metrics instance)
    Deprecated.
    Create a new fluent API builder from an existing instance.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The total number of Services:lookup() calls that were successfully resolved via cache.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The total number of Services::lookup() calls that were attempted against the lookup cache.
    static Metrics
    Deprecated.
    Create a new instance with default values.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The total number of Services::lookup() calls since jvm start, or since last reset.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The total service count in the registry.
  • Method Details

    • builder

      static Metrics.Builder builder()
      Deprecated.
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static Metrics.Builder builder(Metrics instance)
      Deprecated.
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static Metrics create()
      Deprecated.
      Create a new instance with default values.
      Returns:
      a new instance
    • serviceCount

      Optional<Integer> serviceCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The total service count in the registry.
      Returns:
      total service count
    • lookupCount

      Optional<Integer> lookupCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The total number of Services::lookup() calls since jvm start, or since last reset.
      Returns:
      lookup count
    • cacheLookupCount

      Optional<Integer> cacheLookupCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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