@InterfaceAudience.Private public final class CacheEvictionStatsBuilder extends Object
Modifier and Type | Field and Description |
---|---|
(package private) long |
evictedBlocks |
(package private) Map<byte[],Throwable> |
exceptions |
(package private) long |
maxCacheSize |
Constructor and Description |
---|
CacheEvictionStatsBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addException(byte[] regionName,
Throwable ie) |
CacheEvictionStatsBuilder |
append(CacheEvictionStats stats) |
CacheEvictionStats |
build() |
CacheEvictionStatsBuilder |
withEvictedBlocks(long evictedBlocks) |
CacheEvictionStatsBuilder |
withMaxCacheSize(long maxCacheSize) |
long evictedBlocks
long maxCacheSize
Map<byte[],Throwable> exceptions
CacheEvictionStatsBuilder()
public CacheEvictionStatsBuilder withEvictedBlocks(long evictedBlocks)
public CacheEvictionStatsBuilder withMaxCacheSize(long maxCacheSize)
public void addException(byte[] regionName, Throwable ie)
public CacheEvictionStatsBuilder append(CacheEvictionStats stats)
public CacheEvictionStats build()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.