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.
 
 
 
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
 
 
 
 
 
 
 
 
 
 
 
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Run one thread per session type and drain the queues once there is an entry.
Marker interface for tasks that update persistent sessions
Capture information for a deferred update of the session stores.
 
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.
 
 
 
 
 
 
 
 
Performs an entity replacement in Infinispan, using its versions instead of equality.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Adding an in-JVM lock to prevent a best-effort concurrent executions for the same ID.
 
 
 
 
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.
 
 
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
 
 
 
 
 
tracks all changes to the underlying session in this transaction
 
 
 
 
 
 
 
 
 
 
Used to track cache revisions
 
 
 
 
 
 
 
 
 
 
 
 
Used when user added/removed