@InterfaceAudience.Public public final class CacheEvictionStats extends Object
Modifier and Type | Field and Description |
---|---|
private long |
evictedBlocks |
private Map<byte[],Throwable> |
exceptions |
private long |
maxCacheSize |
Constructor and Description |
---|
CacheEvictionStats(CacheEvictionStatsBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static CacheEvictionStatsBuilder |
builder() |
long |
getEvictedBlocks() |
int |
getExceptionCount() |
Map<byte[],Throwable> |
getExceptions() |
private String |
getFailedRegions() |
long |
getMaxCacheSize() |
String |
toString() |
private final long evictedBlocks
private final long maxCacheSize
private final Map<byte[],Throwable> exceptions
CacheEvictionStats(CacheEvictionStatsBuilder builder)
public long getEvictedBlocks()
public long getMaxCacheSize()
public Map<byte[],Throwable> getExceptions()
public int getExceptionCount()
private String getFailedRegions()
@InterfaceAudience.Private public static CacheEvictionStatsBuilder builder()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.