public abstract class AbstractPool extends Object implements Pool
| Modifier and Type | Method and Description |
|---|---|
long |
evictionCount()
Returns the number of values that have been evicted.
|
int |
getCapacity()
Gets the capacity.
|
long |
hitCount() |
boolean |
isClosed()
Checks if is closed.
|
boolean |
isEmpty()
Checks if is empty.
|
void |
lock()
Lock.
|
long |
missCount() |
long |
putCount() |
void |
unlock()
Unlock.
|
public int getCapacity()
getCapacity in interface Poolpublic long evictionCount()
PoolevictionCount in interface Poolpublic boolean isEmpty()
Copyright © 2021. All rights reserved.