A B C E G H I K L M N P R S T V 
All Classes All Packages

A

ACCESSED - net.jodah.expiringmap.ExpirationPolicy
Expires entries based on when they were last accessed
addAsyncExpirationListener(ExpirationListener<K, V>) - Method in class net.jodah.expiringmap.ExpiringMap
Adds an asynchronous expiration listener.
addExpirationListener(ExpirationListener<K, V>) - Method in class net.jodah.expiringmap.ExpiringMap
Adds an expiration listener.
asyncExpirationListener(ExpirationListener<? super K1, ? super V1>) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Configures the expiration listener which will receive asynchronous notifications upon each map entry's expiration.
asyncExpirationListeners(List<ExpirationListener<? super K1, ? super V1>>) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Configures the expiration listeners which will receive asynchronous notifications upon each map entry's expiration.

B

build() - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Builds and returns an expiring map.
builder() - Static method in class net.jodah.expiringmap.ExpiringMap
Creates an ExpiringMap builder.

C

clear() - Method in class net.jodah.expiringmap.ExpiringMap
 
containsKey(Object) - Method in class net.jodah.expiringmap.ExpiringMap
 
containsValue(Object) - Method in class net.jodah.expiringmap.ExpiringMap
 
create() - Static method in class net.jodah.expiringmap.ExpiringMap
Creates a new instance of ExpiringMap with ExpirationPolicy.CREATED and an expiration of 60 seconds.
CREATED - net.jodah.expiringmap.ExpirationPolicy
Expires entries based on when they were created

E

entryLoader(EntryLoader<? super K1, ? super V1>) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Sets the EntryLoader to use when loading entries.
EntryLoader<K,​V> - Interface in net.jodah.expiringmap
Loads entries on demand.
entrySet() - Method in class net.jodah.expiringmap.ExpiringMap
Returns a copy of the map's entries, which can be iterated over safely by multiple threads.
equals(Object) - Method in class net.jodah.expiringmap.ExpiringMap
 
equals(Object) - Method in class net.jodah.expiringmap.ExpiringValue
 
expiration(long, TimeUnit) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Sets the default map entry expiration.
expirationListener(ExpirationListener<? super K1, ? super V1>) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Configures the expiration listener that will receive notifications upon each map entry's expiration.
ExpirationListener<K,​V> - Interface in net.jodah.expiringmap
A listener for expired object events.
expirationListeners(List<ExpirationListener<? super K1, ? super V1>>) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Configures the expiration listeners which will receive notifications upon each map entry's expiration.
expirationPolicy(ExpirationPolicy) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Configures the map entry expiration policy.
ExpirationPolicy - Enum in net.jodah.expiringmap
Determines how ExpiringMap entries should be expired.
expired(K, V) - Method in interface net.jodah.expiringmap.ExpirationListener
Called when a map entry expires.
expiringEntryLoader(ExpiringEntryLoader<? super K1, ? super V1>) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Sets the ExpiringEntryLoader to use when loading entries and configures variable expiration.
ExpiringEntryLoader<K,​V> - Interface in net.jodah.expiringmap
Loads entries on demand, with control over each value's expiry duration (i.e.
ExpiringMap<K,​V> - Class in net.jodah.expiringmap
A thread-safe map that expires entries.
ExpiringMap.Builder<K,​V> - Class in net.jodah.expiringmap
Builds ExpiringMap instances.
ExpiringValue<V> - Class in net.jodah.expiringmap
A value which should be stored in an ExpiringMap with optional control over its expiration.
ExpiringValue(V) - Constructor for class net.jodah.expiringmap.ExpiringValue
Creates an ExpiringValue to be stored in an ExpiringMap.
ExpiringValue(V, long, TimeUnit) - Constructor for class net.jodah.expiringmap.ExpiringValue
Creates an ExpiringValue to be stored in an ExpiringMap.
ExpiringValue(V, ExpirationPolicy) - Constructor for class net.jodah.expiringmap.ExpiringValue
Creates an ExpiringValue to be stored in an ExpiringMap.
ExpiringValue(V, ExpirationPolicy, long, TimeUnit) - Constructor for class net.jodah.expiringmap.ExpiringValue
Creates an ExpiringValue to be stored in an ExpiringMap.

G

get(Object) - Method in class net.jodah.expiringmap.ExpiringMap
 
getDuration() - Method in class net.jodah.expiringmap.ExpiringValue
 
getExpectedExpiration(K) - Method in class net.jodah.expiringmap.ExpiringMap
Gets the expected expiration, in milliseconds from the current time, for the entry corresponding to the given key.
getExpiration() - Method in class net.jodah.expiringmap.ExpiringMap
Returns the map's default expiration duration in milliseconds.
getExpiration(K) - Method in class net.jodah.expiringmap.ExpiringMap
Gets the expiration duration in milliseconds for the entry corresponding to the given key.
getExpirationPolicy() - Method in class net.jodah.expiringmap.ExpiringValue
 
getExpirationPolicy(K) - Method in class net.jodah.expiringmap.ExpiringMap
Gets the ExpirationPolicy for the entry corresponding to the given key.
getMaxSize() - Method in class net.jodah.expiringmap.ExpiringMap
Gets the maximum size of the map.
getTimeUnit() - Method in class net.jodah.expiringmap.ExpiringValue
 
getValue() - Method in class net.jodah.expiringmap.ExpiringValue
 

H

hashCode() - Method in class net.jodah.expiringmap.ExpiringMap
 
hashCode() - Method in class net.jodah.expiringmap.ExpiringValue
 

I

isEmpty() - Method in class net.jodah.expiringmap.ExpiringMap
 

K

keySet() - Method in class net.jodah.expiringmap.ExpiringMap
Returns a copy of the map's keys, which can be iterated over safely by multiple threads.

L

load(K) - Method in interface net.jodah.expiringmap.EntryLoader
Called to load a new value for the key into an expiring map.
load(K) - Method in interface net.jodah.expiringmap.ExpiringEntryLoader
Called to load a new value for the key into an expiring map.

M

maxSize(int) - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Sets the maximum size of the map.

N

net.jodah.expiringmap - package net.jodah.expiringmap
 

P

put(K, V) - Method in class net.jodah.expiringmap.ExpiringMap
Puts value in the map for key.
put(K, V, long, TimeUnit) - Method in class net.jodah.expiringmap.ExpiringMap
 
put(K, V, ExpirationPolicy) - Method in class net.jodah.expiringmap.ExpiringMap
 
put(K, V, ExpirationPolicy, long, TimeUnit) - Method in class net.jodah.expiringmap.ExpiringMap
Puts value in the map for key.
putAll(Map<? extends K, ? extends V>) - Method in class net.jodah.expiringmap.ExpiringMap
 
putIfAbsent(K, V) - Method in class net.jodah.expiringmap.ExpiringMap
 

R

remove(Object) - Method in class net.jodah.expiringmap.ExpiringMap
 
remove(Object, Object) - Method in class net.jodah.expiringmap.ExpiringMap
 
removeAsyncExpirationListener(ExpirationListener<K, V>) - Method in class net.jodah.expiringmap.ExpiringMap
Removes an asynchronous expiration listener.
removeExpirationListener(ExpirationListener<K, V>) - Method in class net.jodah.expiringmap.ExpiringMap
Removes an expiration listener.
replace(K, V) - Method in class net.jodah.expiringmap.ExpiringMap
 
replace(K, V, V) - Method in class net.jodah.expiringmap.ExpiringMap
 
resetExpiration(K) - Method in class net.jodah.expiringmap.ExpiringMap
Resets expiration for the entry corresponding to key.

S

setExpiration(long, TimeUnit) - Method in class net.jodah.expiringmap.ExpiringMap
Updates the default map entry expiration.
setExpiration(K, long, TimeUnit) - Method in class net.jodah.expiringmap.ExpiringMap
Sets the expiration duration for the entry corresponding to the given key.
setExpirationPolicy(K, ExpirationPolicy) - Method in class net.jodah.expiringmap.ExpiringMap
Sets the expiration policy for the entry corresponding to the given key.
setExpirationPolicy(ExpirationPolicy) - Method in class net.jodah.expiringmap.ExpiringMap
Sets the global expiration policy for the map.
setMaxSize(int) - Method in class net.jodah.expiringmap.ExpiringMap
Sets the maximum size of the map.
setThreadFactory(ThreadFactory) - Static method in class net.jodah.expiringmap.ExpiringMap
Sets the ThreadFactory that is used to create expiration and listener callback threads for all ExpiringMap instances.
size() - Method in class net.jodah.expiringmap.ExpiringMap
 

T

toString() - Method in class net.jodah.expiringmap.ExpiringMap
 
toString() - Method in class net.jodah.expiringmap.ExpiringValue
 

V

valueOf(String) - Static method in enum net.jodah.expiringmap.ExpirationPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.jodah.expiringmap.ExpirationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class net.jodah.expiringmap.ExpiringMap
Returns a copy of the map's values, which can be iterated over safely by multiple threads.
variableExpiration() - Method in class net.jodah.expiringmap.ExpiringMap.Builder
Allows for map entries to have individual expirations and for expirations to be changed.
A B C E G H I K L M N P R S T V 
All Classes All Packages