private class BucketCache.BucketEntryGroup extends Object
Modifier and Type | Field and Description |
---|---|
private long |
bucketSize |
private CachedEntryQueue |
queue |
private long |
totalSize |
Constructor and Description |
---|
BucketEntryGroup(long bytesToFree,
long blockSize,
long bucketSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(Map.Entry<BlockCacheKey,BucketEntry> block) |
long |
free(long toFree) |
long |
overflow() |
long |
totalSize() |
private CachedEntryQueue queue
private long totalSize
private long bucketSize
public BucketEntryGroup(long bytesToFree, long blockSize, long bucketSize)
public void add(Map.Entry<BlockCacheKey,BucketEntry> block)
public long free(long toFree)
public long overflow()
public long totalSize()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.