| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final NodeFactory. | |
| public static final NodeFactory. | |
| public static final ConcurrentMap | |
| public static final MethodType | |
| public static final String | |
| public static final MethodHandles. | |
| public static final NodeFactory. | |
| public static final NodeFactory. | |
| public static final String | |
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static <K, V> NodeFactory | |
| public static <K, V> NodeFactory | newFactory(Caffeine<K, V> builder, boolean isAsync)
Returns a factory optimized for the specified features. |
| public static NodeFactory | |
| public default Object | |
| public Node | newNode(K key, ReferenceQueue<K> keyReferenceQueue, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now)
Returns a node optimized for the specified features. |
| public Node | newNode(Object keyReference, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now)
Returns a node optimized for the specified features. |
| public default Object | newReferenceKey(K key, ReferenceQueue<K> referenceQueue)
Returns a key suitable for inserting into the cache. |
| public default boolean | |
| public default boolean |
| ACCESS_TIME | back to summary |
|---|---|
| public static final String ACCESS_TIME | |
| DEAD_STRONG_KEY | back to summary |
|---|---|
| public static final NodeFactory. | |
| DEAD_WEAK_KEY | back to summary |
|---|---|
| public static final NodeFactory. | |
| FACTORIES | back to summary |
|---|---|
| public static final ConcurrentMap<String, NodeFactory<Object, Object>> FACTORIES | |
| FACTORY | back to summary |
|---|---|
| public static final MethodType FACTORY | |
| KEY | back to summary |
|---|---|
| public static final String KEY | |
| LOOKUP | back to summary |
|---|---|
| public static final MethodHandles. | |
| RETIRED_STRONG_KEY | back to summary |
|---|---|
| public static final NodeFactory. | |
| RETIRED_WEAK_KEY | back to summary |
|---|---|
| public static final NodeFactory. | |
| VALUE | back to summary |
|---|---|
| public static final String VALUE | |
| WRITE_TIME | back to summary |
|---|---|
| public static final String WRITE_TIME | |
| getClassName | back to summary |
|---|---|
| public static String getClassName(Caffeine<?, ?> builder, boolean isAsync) | |
| loadFactory | back to summary |
|---|---|
public static <K, V> NodeFactory
| |
| newFactory | back to summary |
|---|---|
| public static <K, V> NodeFactory Returns a factory optimized for the specified features.
| |
| newFactory | back to summary |
|---|---|
public static NodeFactory
| |
| newLookupKey | back to summary |
|---|---|
| public default Object newLookupKey(Object key) Returns a key suitable for looking up an entry in the cache. If the cache holds keys strongly
then the key is returned. If the cache holds keys weakly then a | |
| newNode | back to summary |
|---|---|
| public Node Returns a node optimized for the specified features. | |
| newNode | back to summary |
|---|---|
| public Node Returns a node optimized for the specified features. | |
| newReferenceKey | back to summary |
|---|---|
| public default Object newReferenceKey(K key, ReferenceQueue<K> referenceQueue) Returns a key suitable for inserting into the cache. If the cache holds keys strongly then the
key is returned. If the cache holds keys weakly then a | |
| softValues | back to summary |
|---|---|
| public default boolean softValues() Returns whether this factory supports soft values. | |
| weakValues | back to summary |
|---|---|
| public default boolean weakValues() Returns whether this factory supports weak values. | |
| Access | Constructor and Description |
|---|---|
| public |
| DeadStrongKey | back to summary |
|---|---|
| public DeadStrongKey() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| DeadWeakKey | back to summary |
|---|---|
| pack-priv DeadWeakKey() | |
| Access | Constructor and Description |
|---|---|
| public |
| RetiredStrongKey | back to summary |
|---|---|
| public RetiredStrongKey() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| RetiredWeakKey | back to summary |
|---|---|
| pack-priv RetiredWeakKey() | |