net.sf.ehcache.store.MemoryStore .
This can be one of:
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final MemoryStoreEvictionPolicy | CLOCK
FIFO - first in first out, the oldest element by creation time. |
| public static final MemoryStoreEvictionPolicy | FIFO
FIFO - first in first out, the oldest element by creation time. |
| public static final MemoryStoreEvictionPolicy | LFU
LFU - least frequently used. |
| private static final Logger | |
| public static final MemoryStoreEvictionPolicy | LRU
LRU - least recently used. |
| private final String |
| Access | Constructor and Description |
|---|---|
| private | MemoryStoreEvictionPolicy(String policy)
This class should not be subclassed or have instances created. |
| Modifier and Type | Method and Description |
|---|---|
| public static MemoryStoreEvictionPolicy | Returns: one of the static instanceseither LRU, LFU or FIFO policy)Converts a string representation of the policy into a policy. |
| public String | Returns: a String representation of the policyOverrides java. |
| CLOCK | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy CLOCK FIFO - first in first out, the oldest element by creation time. | |
| FIFO | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy FIFO FIFO - first in first out, the oldest element by creation time. | |
| LFU | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy LFU LFU - least frequently used. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| LRU | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy LRU LRU - least recently used. | |
| myName | back to summary |
|---|---|
| private final String myName | |
| MemoryStoreEvictionPolicy | back to summary |
|---|---|
| private MemoryStoreEvictionPolicy(String policy) This class should not be subclassed or have instances created. | |
| fromString | back to summary |
|---|---|
| public static MemoryStoreEvictionPolicy fromString(String policy) Converts a string representation of the policy into a policy.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
MemoryStoreEvictionPolicy
| Modifier and Type | Field and Description |
|---|---|
| public static final MemoryStoreEvictionPolicy. | FIFO
Value for |
| public static final MemoryStoreEvictionPolicy. | LFU
Value for |
| public static final MemoryStoreEvictionPolicy. | LRU
Value for |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MemoryStoreEvictionPolicy. | |
| public static MemoryStoreEvictionPolicy. |
| FIFO | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy. Value for | |
| LFU | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy. Value for | |
| LRU | back to summary |
|---|---|
| public static final MemoryStoreEvictionPolicy. Value for | |
| MemoryStoreEvictionPolicyEnum | back to summary |
|---|---|
| private MemoryStoreEvictionPolicyEnum() | |
| valueOf | back to summary |
|---|---|
| public static MemoryStoreEvictionPolicy. | |
| values | back to summary |
|---|---|
| public static MemoryStoreEvictionPolicy. | |