Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| public static final SingletonWeigher |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SingletonWeigher | |
| public static SingletonWeigher[] | |
| public int | weigh(Object
the key to weigh key, Object the value to weigh value)Implements com. |
| INSTANCE | back to summary |
|---|---|
| public static final SingletonWeigher INSTANCE | |
| SingletonWeigher | back to summary |
|---|---|
| private SingletonWeigher() | |
| valueOf | back to summary |
|---|---|
| public static SingletonWeigher valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SingletonWeigher[] values() | |
| weigh | back to summary |
|---|---|
| public int weigh(Object key, Object value) Implements com. Doc from com. Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply relative to each other. | |