| Modifier and Type | Field and Description |
|---|---|
| public static final RemovalCause | COLLECTED
The entry was removed automatically because its key or value was garbage-collected. |
| public static final RemovalCause | EXPIRED
The entry's expiration timestamp has passed. |
| public static final RemovalCause | EXPLICIT
The entry was manually removed by the user. |
| public static final RemovalCause | REPLACED
The entry itself was not actually removed, but its value was replaced by the user. |
| public static final RemovalCause | SIZE
The entry was evicted due to size constraints. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RemovalCause | |
| public static RemovalCause[] | |
| pack-priv abstract boolean | wasEvicted()
Returns |
| COLLECTED | back to summary |
|---|---|
| public static final RemovalCause COLLECTED The entry was removed automatically because its key or value was garbage-collected. This can
occur when using | |
| EXPIRED | back to summary |
|---|---|
| public static final RemovalCause EXPIRED The entry's expiration timestamp has passed. This can occur when using | |
| EXPLICIT | back to summary |
|---|---|
| public static final RemovalCause EXPLICIT The entry was manually removed by the user. This can result from the user invoking | |
| REPLACED | back to summary |
|---|---|
| public static final RemovalCause REPLACED The entry itself was not actually removed, but its value was replaced by the user. This can
result from the user invoking | |
| SIZE | back to summary |
|---|---|
| public static final RemovalCause SIZE The entry was evicted due to size constraints. This can occur when using | |
| RemovalCause | back to summary |
|---|---|
| private RemovalCause() | |
| valueOf | back to summary |
|---|---|
| public static RemovalCause valueOf(String name) | |
| values | back to summary |
|---|---|
| public static RemovalCause[] values() | |
| wasEvicted | back to summary |
|---|---|
| pack-priv abstract boolean wasEvicted() Returns | |