Index
All Classes and Interfaces|All Packages
A
- asMap() - Method in interface org.springframework.pulsar.cache.provider.CacheProvider
-
Returns a view of the entries stored in the cache as a thread-safe map.
C
- CacheProvider<K,
V> - Interface in org.springframework.pulsar.cache.provider -
Defines the contract for a cache provider.
- CacheProviderFactory<K,
V> - Interface in org.springframework.pulsar.cache.provider -
Interface to create instances of
CacheProvider. - CacheProviderFactory.EvictionListener<K,
V> - Interface in org.springframework.pulsar.cache.provider -
Interface for a cache eviction listener.
- create(Duration, Long, Integer, CacheProviderFactory.EvictionListener<K, V>) - Method in interface org.springframework.pulsar.cache.provider.CacheProviderFactory
-
Create a cache provider instance with the specified options.
G
- getOrCreateIfAbsent(K, Function<K, V>) - Method in interface org.springframework.pulsar.cache.provider.CacheProvider
-
Returns the value associated with the
keyin the cache.
I
- invalidateAll(BiConsumer<K, V>) - Method in interface org.springframework.pulsar.cache.provider.CacheProvider
-
Discards all entries in the cache and calls the
onInvalidateEntrycallback (if provided) for each entry.
L
- load() - Static method in interface org.springframework.pulsar.cache.provider.CacheProviderFactory
-
Uses the Java ServiceLoader API to find the first available cache provider factory.
O
- onEviction(K, V, String) - Method in interface org.springframework.pulsar.cache.provider.CacheProviderFactory.EvictionListener
-
Called when an entry is evicted from the cache.
- org.springframework.pulsar.cache.provider - package org.springframework.pulsar.cache.provider
All Classes and Interfaces|All Packages