public sealed interface RegistryMetrics
Metrics provided by the service registry.
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of times we attempted to get a cached lookup.int
Number of times the cache provided a value.int
Number of full scan counts (going through every service in the registry and checking matches).int
Number of lookups done in the registry.
-
Method Details
-
lookupCount
int lookupCount()Number of lookups done in the registry.- Returns:
- lookup count
-
fullScanCount
int fullScanCount()Number of full scan counts (going through every service in the registry and checking matches).- Returns:
- full scan count
-
cacheAccessCount
int cacheAccessCount()Number of times we attempted to get a cached lookup.- Returns:
- cache access count
-
cacheHitCount
int cacheHitCount()Number of times the cache provided a value.- Returns:
- cache hit count
-