B D F G I J N P S V W 
All Classes All Packages

B

build() - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Same as Caffeine.build().
build(CacheLoader<K, V>) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Same as Caffeine.build(CacheLoader).
ByteArraySerializer<T> - Interface in io.github.oberhoff.distributedcaffeine.serializer
Interface to be used when implementing a custom serializer with byte array representation.

D

deserialize(byte[]) - Method in interface io.github.oberhoff.distributedcaffeine.serializer.ByteArraySerializer
 
deserialize(byte[]) - Method in class io.github.oberhoff.distributedcaffeine.serializer.FurySerializer
 
deserialize(byte[]) - Method in class io.github.oberhoff.distributedcaffeine.serializer.JavaObjectSerializer
 
deserialize(String) - Method in class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
 
deserialize(String) - Method in interface io.github.oberhoff.distributedcaffeine.serializer.StringSerializer
 
deserialize(U) - Method in interface io.github.oberhoff.distributedcaffeine.serializer.Serializer
Deserializes a value.
DistributedCache<K,​V> - Interface in io.github.oberhoff.distributedcaffeine
Interface representing a cache instance.
DistributedCaffeine<K,​V> - Class in io.github.oberhoff.distributedcaffeine
Distributed Caffeine is a Caffeine-based distributed cache using MongoDB change streams for near real-time synchronization between multiple cache instances, especially across different machines.
DistributedCaffeine.Builder<K,​V> - Class in io.github.oberhoff.distributedcaffeine
Builder for configuring and constructing cache instances of type DistributedCache (extends Cache) or of type DistributedLoadingCache (extends LoadingCache).
DistributedCaffeineException - Exception in io.github.oberhoff.distributedcaffeine
Unchecked runtime exception thrown by cache instances.
DistributedCaffeineException(String) - Constructor for exception io.github.oberhoff.distributedcaffeine.DistributedCaffeineException
Constructs a new DistributedCaffeineException with the specified detail message
DistributedCaffeineException(String, Throwable) - Constructor for exception io.github.oberhoff.distributedcaffeine.DistributedCaffeineException
Constructs a new DistributedCaffeineException with the specified detail message and cause.
DistributedCaffeineException(Throwable) - Constructor for exception io.github.oberhoff.distributedcaffeine.DistributedCaffeineException
Constructs a new DistributedCaffeineException with the specified cause.
DistributedLoadingCache<K,​V> - Interface in io.github.oberhoff.distributedcaffeine
Interface representing a loading cache instance.
distributedPolicy() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedCache
Returns an access point for inspecting and performing low-level operations on the cache instance.
DistributedPolicy<K,​V> - Interface in io.github.oberhoff.distributedcaffeine
Interface representing an access point for inspecting and performing low-level operations on the cache instance (similar to Policy).
DistributedPolicy.CacheEntry<K,​V> - Interface in io.github.oberhoff.distributedcaffeine
Interface representing a cache entry containing key and value along with some metadata.
DistributionMode - Enum in io.github.oberhoff.distributedcaffeine
Modes for defining the scope of distributed synchronization.

F

FurySerializer<T> - Class in io.github.oberhoff.distributedcaffeine.serializer
Implementation of a serializer with byte array representation based on Apache Fury.
FurySerializer(Class<?>...) - Constructor for class io.github.oberhoff.distributedcaffeine.serializer.FurySerializer
Constructs a serializer with byte array representation based on Apache Fury along with optional Class-based type information.

G

getAllFromMongo(Iterable<? extends K>, boolean) - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy
Get the cache entries mapped to the specified keys directly from the MongoDB collection bypassing this cache instance.
getFromMongo(K, boolean) - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy
Get the cache entry mapped to the specified key directly from the MongoDB collection bypassing this cache instance.
getId() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy.CacheEntry
Get the id of the cache entry.
getKey() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy.CacheEntry
Get the key of the cache entry.
getMongoCollection() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy
Get the MongoDB collection used for distributed synchronization between cache instances.
getStatus() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy.CacheEntry
Get the status of the cache entry
getTouched() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy.CacheEntry
Get the touched date of the cache entry.
getValue() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy.CacheEntry
Get the value of the cache entry.

I

INVALIDATION - io.github.oberhoff.distributedcaffeine.DistributionMode
Includes invalidation (explicit removal), but excludes population (manual or loading) and eviction (size- or time-based removal).
INVALIDATION_AND_EVICTION - io.github.oberhoff.distributedcaffeine.DistributionMode
Includes invalidation (explicit removal) and eviction (size- or time-based removal), but excludes population (manual or loading).
io.github.oberhoff.distributedcaffeine - package io.github.oberhoff.distributedcaffeine
This package contains the main classes and interfaces for configuring, constructing and using Distributed Caffeine cache instances.
io.github.oberhoff.distributedcaffeine.serializer - package io.github.oberhoff.distributedcaffeine.serializer
This package contains classes and interfaces providing serializing/deserializing functionality for Distributed Caffeine cache instances.
isEvicted() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy.CacheEntry
Indicates whether the cache entry is already evicted or not.

J

JacksonSerializer<T> - Class in io.github.oberhoff.distributedcaffeine.serializer
Implementation of a serializer with JSON representation (encoded as String or BSON) based on Jackson.
JacksonSerializer(TypeReference<T>, boolean) - Constructor for class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
Constructs a serializer with JSON representation based on Jackson along with TypeReference-based type information.
JacksonSerializer(ObjectMapper, TypeReference<T>, boolean) - Constructor for class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
Constructs a serializer with JSON representation based on Jackson along with a customizable ObjectMapper and TypeReference-based type information.
JacksonSerializer(ObjectMapper, Class<? super T>, boolean) - Constructor for class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
Constructs a serializer with JSON representation based on Jackson along with a customizable ObjectMapper and Class-based type information.
JacksonSerializer(Class<? super T>, boolean) - Constructor for class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
Constructs a serializer with JSON representation based on Jackson along with Class-based type information.
JavaObjectSerializer<T> - Class in io.github.oberhoff.distributedcaffeine.serializer
Implementation of a serializer with byte array representation based on Java Object Serialization.
JavaObjectSerializer() - Constructor for class io.github.oberhoff.distributedcaffeine.serializer.JavaObjectSerializer
Constructs a serializer with byte array representation based on Java Object Serialization.
JsonSerializer<T> - Interface in io.github.oberhoff.distributedcaffeine.serializer
Interface to be used when implementing a custom serializer with JSON representation (encoded as String or BSON).

N

newBuilder(MongoCollection<Document>) - Static method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine
Returns a new builder for configuring and constructing cache instances.

P

POPULATION_AND_INVALIDATION - io.github.oberhoff.distributedcaffeine.DistributionMode
Includes population (manual or loading) and invalidation (explicit removal), but excludes eviction (size- or time-based removal).
POPULATION_AND_INVALIDATION_AND_EVICTION - io.github.oberhoff.distributedcaffeine.DistributionMode
Includes population (manual or loading), invalidation (explicit removal) and eviction (size- or time-based removal).

S

serialize(Object) - Method in class io.github.oberhoff.distributedcaffeine.serializer.FurySerializer
 
serialize(T) - Method in interface io.github.oberhoff.distributedcaffeine.serializer.ByteArraySerializer
 
serialize(T) - Method in class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
 
serialize(T) - Method in class io.github.oberhoff.distributedcaffeine.serializer.JavaObjectSerializer
 
serialize(T) - Method in interface io.github.oberhoff.distributedcaffeine.serializer.Serializer
Serializes an object.
serialize(T) - Method in interface io.github.oberhoff.distributedcaffeine.serializer.StringSerializer
 
Serializer<T,​U> - Interface in io.github.oberhoff.distributedcaffeine.serializer
This is only a marker interface.
SerializerException - Exception in io.github.oberhoff.distributedcaffeine.serializer
Checked exception to be thrown if serialization or deserialization fails within a Serializer instance.
SerializerException(String) - Constructor for exception io.github.oberhoff.distributedcaffeine.serializer.SerializerException
Constructs a new SerializerException with the specified detail message
SerializerException(String, Throwable) - Constructor for exception io.github.oberhoff.distributedcaffeine.serializer.SerializerException
Constructs a new SerializerException with the specified message and cause.
SerializerException(String, Throwable, boolean, boolean) - Constructor for exception io.github.oberhoff.distributedcaffeine.serializer.SerializerException
Constructs a new SerializerException with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
SerializerException(Throwable) - Constructor for exception io.github.oberhoff.distributedcaffeine.serializer.SerializerException
Constructs a new SerializerException with the specified cause.
startSynchronization() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy
Start distributed synchronization for this cache instance if it was stopped before.
stopSynchronization() - Method in interface io.github.oberhoff.distributedcaffeine.DistributedPolicy
Stop distributed synchronization for this cache instance.
storeAsBson() - Method in class io.github.oberhoff.distributedcaffeine.serializer.JacksonSerializer
 
storeAsBson() - Method in interface io.github.oberhoff.distributedcaffeine.serializer.JsonSerializer
Indicates whether the JSON representation should be encoded as BSON or as string when stored in the MongoDB collection.
StringSerializer<T> - Interface in io.github.oberhoff.distributedcaffeine.serializer
Interface to be used when implementing a custom serializer with string representation.

V

valueOf(String) - Static method in enum io.github.oberhoff.distributedcaffeine.DistributionMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.oberhoff.distributedcaffeine.DistributionMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withCaffeineBuilder(Caffeine<?, ?>) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies the Caffeine builder to be used for internal caching.
withCustomKeySerializer(Serializer<K, ?>) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies a custom serializer to be used for serializing key objects.
withCustomValueSerializer(Serializer<V, ?>) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies a custom serializer to be used for serializing value objects.
withDistributionMode(DistributionMode) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies the mode used for distributed synchronization between cache instances.
withFurySerializer(Class<?>...) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies that cache entries are serialized with byte array representation using Apache Fury when stored in the MongoDB collection.
withJavaObjectSerializer() - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies that cache entries are serialized with byte array representation using Java Object Serialization when stored in the MongoDB collection.
withJsonSerializer(TypeReference<K>, TypeReference<V>, boolean) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies that cache entries are serialized with JSON representation (encoded as String or BSON) using Jackson when stored in the MongoDB collection.
withJsonSerializer(ObjectMapper, TypeReference<K>, TypeReference<V>, boolean) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies that cache entries are serialized with JSON representation (encoded as String or BSON) using Jackson when stored in the MongoDB collection.
withJsonSerializer(ObjectMapper, Class<? super K>, Class<? super V>, boolean) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies that cache entries are serialized with JSON representation (encoded as String or BSON) using Jackson when stored in the MongoDB collection.
withJsonSerializer(Class<? super K>, Class<? super V>, boolean) - Method in class io.github.oberhoff.distributedcaffeine.DistributedCaffeine.Builder
Specifies that cache entries are serialized with JSON representation (encoded as String or BSON) using Jackson when stored in the MongoDB collection.
B D F G I J N P S V W 
All Classes All Packages