Class CacheStatistics.CacheStatisticsBuilder
- java.lang.Object
-
- com.atlassian.confluence.impl.vcache.metrics.CacheStatistics.CacheStatisticsBuilder
-
- Enclosing class:
- CacheStatistics
public static class CacheStatistics.CacheStatisticsBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description CacheStatisticsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheStatistics
build()
CacheStatistics.CacheStatisticsBuilder
withGetTime(long getTime)
CacheStatistics.CacheStatisticsBuilder
withHits(long hits)
CacheStatistics.CacheStatisticsBuilder
withLoadTime(double loadTime)
CacheStatistics.CacheStatisticsBuilder
withMisses(long misses)
CacheStatistics.CacheStatisticsBuilder
withName(String name)
CacheStatistics.CacheStatisticsBuilder
withOtherStats(Map<String,?> otherStats)
CacheStatistics.CacheStatisticsBuilder
withPutTime(long putTime)
CacheStatistics.CacheStatisticsBuilder
withTags(List<String> tags)
CacheStatistics.CacheStatisticsBuilder
withType(String type)
-
-
-
Method Detail
-
withName
public CacheStatistics.CacheStatisticsBuilder withName(String name)
-
withTags
public CacheStatistics.CacheStatisticsBuilder withTags(List<String> tags)
-
withType
public CacheStatistics.CacheStatisticsBuilder withType(String type)
-
withHits
public CacheStatistics.CacheStatisticsBuilder withHits(long hits)
-
withMisses
public CacheStatistics.CacheStatisticsBuilder withMisses(long misses)
-
withGetTime
public CacheStatistics.CacheStatisticsBuilder withGetTime(long getTime)
-
withPutTime
public CacheStatistics.CacheStatisticsBuilder withPutTime(long putTime)
-
withLoadTime
public CacheStatistics.CacheStatisticsBuilder withLoadTime(double loadTime)
-
withOtherStats
public CacheStatistics.CacheStatisticsBuilder withOtherStats(Map<String,?> otherStats)
-
build
public CacheStatistics build()
-
-