public abstract class CacheCountersSummary extends Object
Constructor and Description |
---|
CacheCountersSummary() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableMap<ArtifactCacheMode,AtomicLong> |
getCacheBytesPerMode() |
abstract com.google.common.collect.ImmutableMap<ArtifactCacheMode,AtomicInteger> |
getCacheErrorsPerMode() |
abstract com.google.common.collect.ImmutableMap<ArtifactCacheMode,AtomicInteger> |
getCacheHitsPerMode() |
abstract AtomicInteger |
getFailureUploadCount() |
abstract AtomicInteger |
getSuccessUploadCount() |
abstract long |
getTotalCacheBytes() |
abstract int |
getTotalCacheErrors() |
abstract int |
getTotalCacheHits() |
abstract int |
getTotalCacheIgnores() |
abstract int |
getTotalCacheLocalKeyUnchangedHits() |
abstract int |
getTotalCacheMisses() |
static CacheCountersSummary |
of(Map<ArtifactCacheMode,? extends AtomicInteger> cacheHitsPerMode,
Map<ArtifactCacheMode,? extends AtomicInteger> cacheErrorsPerMode,
Map<ArtifactCacheMode,? extends AtomicLong> cacheBytesPerMode,
int totalCacheHits,
int totalCacheErrors,
int totalCacheMisses,
int totalCacheIgnores,
long totalCacheBytes,
int totalCacheLocalKeyUnchangedHits,
AtomicInteger successUploadCount,
AtomicInteger failureUploadCount) |
public abstract com.google.common.collect.ImmutableMap<ArtifactCacheMode,AtomicInteger> getCacheHitsPerMode()
public abstract com.google.common.collect.ImmutableMap<ArtifactCacheMode,AtomicInteger> getCacheErrorsPerMode()
public abstract com.google.common.collect.ImmutableMap<ArtifactCacheMode,AtomicLong> getCacheBytesPerMode()
public abstract int getTotalCacheHits()
public abstract int getTotalCacheErrors()
public abstract int getTotalCacheMisses()
public abstract int getTotalCacheIgnores()
public abstract long getTotalCacheBytes()
public abstract int getTotalCacheLocalKeyUnchangedHits()
public abstract AtomicInteger getSuccessUploadCount()
public abstract AtomicInteger getFailureUploadCount()
public static CacheCountersSummary of(Map<ArtifactCacheMode,? extends AtomicInteger> cacheHitsPerMode, Map<ArtifactCacheMode,? extends AtomicInteger> cacheErrorsPerMode, Map<ArtifactCacheMode,? extends AtomicLong> cacheBytesPerMode, int totalCacheHits, int totalCacheErrors, int totalCacheMisses, int totalCacheIgnores, long totalCacheBytes, int totalCacheLocalKeyUnchangedHits, AtomicInteger successUploadCount, AtomicInteger failureUploadCount)