public class Recycler<T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static LongAdder |
HIT_COUNT |
static LongAdder |
MISS_COUNT |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
getInstance()
Get an instance
|
static List<Recycler> |
getRecyclerList()
Gets a list of all recyclers
|
static void |
main(String[] args) |
void |
recycleInstance(T value)
Recycling instance
|
String |
toString() |
public static final LongAdder HIT_COUNT
public static final LongAdder MISS_COUNT
public static List<Recycler> getRecyclerList()
public T getInstance()
public void recycleInstance(T value)
value - valuepublic static void main(String[] args) throws InterruptedException
Copyright © 2021. All rights reserved.