Index

B C D E G H I M N O P R S T 
All Classes and Interfaces|All Packages

B

bounded() - Method in class dev.relism.flash.ext.cache.CacheSpec
 
build(String, Consumer<CacheSpec>) - Method in interface dev.relism.flash.ext.cache.CacheManager
Creates the named cache, or returns the existing one.

C

cache(String) - Method in interface dev.relism.flash.ext.cache.CacheManager
Cache<K,V> - Interface in dev.relism.flash.ext.cache
A named cache.
CacheManager - Interface in dev.relism.flash.ext.cache
Creates and hands back named caches.
CacheSpec - Class in dev.relism.flash.ext.cache
How one cache should behave.
CacheStats - Record Class in dev.relism.flash.ext.cache
Hit/miss counters for one cache.
CacheStats(long, long, long) - Constructor for record class dev.relism.flash.ext.cache.CacheStats
Creates an instance of a CacheStats record class.

D

dev.relism.flash.ext.cache - package dev.relism.flash.ext.cache
 
DISABLED - Static variable in record class dev.relism.flash.ext.cache.CacheStats
Returned when CacheSpec.recordStats() was not set — all zero, and says so.

E

equals(Object) - Method in record class dev.relism.flash.ext.cache.CacheStats
Indicates whether some other object is "equal to" this one.
estimatedSize() - Method in interface dev.relism.flash.ext.cache.Cache
Approximate entry count.
evictions() - Method in record class dev.relism.flash.ext.cache.CacheStats
Returns the value of the evictions record component.

G

get(K, Function<? super K, ? extends V>) - Method in interface dev.relism.flash.ext.cache.Cache
Returns the cached value, computing and storing it with loader if absent.
getIfPresent(K) - Method in interface dev.relism.flash.ext.cache.Cache
The cached value, or null if absent.

H

hashCode() - Method in record class dev.relism.flash.ext.cache.CacheStats
Returns a hash code value for this object.
hitRate() - Method in record class dev.relism.flash.ext.cache.CacheStats
Hits divided by lookups, or 0 when nothing has been looked up yet.
hits() - Method in record class dev.relism.flash.ext.cache.CacheStats
Returns the value of the hits record component.

I

invalidate(K) - Method in interface dev.relism.flash.ext.cache.Cache
Drops key.
invalidateAll() - Method in interface dev.relism.flash.ext.cache.Cache
Drops every entry.

M

maxSize() - Method in class dev.relism.flash.ext.cache.CacheSpec
 
maxSize(long) - Method in class dev.relism.flash.ext.cache.CacheSpec
Maximum entries before the backend starts evicting.
misses() - Method in record class dev.relism.flash.ext.cache.CacheStats
Returns the value of the misses record component.

N

names() - Method in interface dev.relism.flash.ext.cache.CacheManager
Every cache name built so far, for an ops endpoint.

O

of() - Static method in class dev.relism.flash.ext.cache.CacheSpec
 

P

put(K, V) - Method in interface dev.relism.flash.ext.cache.Cache
Stores value, replacing any existing entry.

R

recordStats() - Method in class dev.relism.flash.ext.cache.CacheSpec
Records hit/miss counters for Cache.stats().

S

stats() - Method in interface dev.relism.flash.ext.cache.Cache
Hit/miss counters since this cache was built, or DISABLED when the backend was not asked to record them.
statsRecorded() - Method in class dev.relism.flash.ext.cache.CacheSpec
 

T

toString() - Method in record class dev.relism.flash.ext.cache.CacheStats
Returns a string representation of this record class.
ttl() - Method in class dev.relism.flash.ext.cache.CacheSpec
 
ttl(Duration) - Method in class dev.relism.flash.ext.cache.CacheSpec
Entries expire this long after they were written.
ttlAfterAccess() - Method in class dev.relism.flash.ext.cache.CacheSpec
 
ttlAfterAccess(Duration) - Method in class dev.relism.flash.ext.cache.CacheSpec
Entries expire this long after they were last read or written.
B C D E G H I M N O P R S T 
All Classes and Interfaces|All Packages