All Classes and Interfaces
Class
Description
Abstract "store" for bulk sending of the updates related to lastSessionRefresh
NOTE: Calling setter doesn't automatically enlist for update
The cache entry, which contains list of all identityProvider links for particular user.
Some notes on how this works:
This implementation manages optimistic locking and version checks itself.
TODO Leave the name ClientTemplateEvent just due the backwards compatibility of infinispan migration.
Cross-DC based CrossDCLastSessionRefreshStore
Tracks the queue of lastSessionRefreshes, which were updated on this host.
Encapsulates preloading of sessions within the DB Lock.
Default implementation of
DefaultLazyLoader that only fetches data once.Not thread-safe.
Startup initialization for reading persistent userSessions to be filled into infinispan/memory .
This impl is aware of Cross-Data-Center scenario too
Abstract subclass for Wildfly externalizers.
Impl for sending infinispan messages across cluster and listening to them
TODO: Check if Boolean can be used as single-use cache argument instead of SingleUseObjectValueEntity.
Note that this state is NOT thread safe.
Needed on Wildfly, so that remoteStore (hotRod client) can find our classes
Helper to optimize marshalling/unmarhsalling of some types
A functional interface that can be used to return data
D from a source S where implementations are free to define how and when
data is fetched from source as well how it is internally cached.The store is supposed to do periodic bulk update of lastSessionRefresh times of all userSessions, which were refreshed during some period
of time.
- the high level architecture of this cache is an invalidation cache.
Get either just remoteCache associated with remoteStore associated with infinispan cache of given name.
Represents an entity containing data about a session, i.e.
Postpone sending notifications of session events to the commit of Keycloak transaction
Function definition used for the lifespan and idle calculations for the infinispan
session entities.
SessionLoader<LOADER_CONTEXT extends SessionLoader.LoaderContext,WORKER_CONTEXT extends SessionLoader.WorkerContext,WORKER_RESULT extends SessionLoader.WorkerResult>
Object, which contains some context data to be used by SessionLoader implementation.
Object, which is computed before each worker iteration and contains some data to be used by the corresponding worker iteration.
Result of single worker iteration
Used to track cache revisions
Used when user added/removed