Package org.keycloak.cluster.infinispan
Class ClockSkewDetectionTask
java.lang.Object
org.keycloak.cluster.infinispan.ClockSkewDetectionTask
- All Implemented Interfaces:
KeycloakSessionTask,ScheduledTask
Periodically publishes the current node's timestamp to the work cache for clock skew detection.
Runs at a configurable interval and writes a
ClockSkewTimestampSample with a TTL of 3x the interval.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLOCK_SKEW_SAMPLE_KEY_PREFIX
- See Also:
-
-
Constructor Details
-
ClockSkewDetectionTask
-
-
Method Details
-
run
- Specified by:
runin interfaceKeycloakSessionTask
-
getTaskName
- Specified by:
getTaskNamein interfaceKeycloakSessionTask- Specified by:
getTaskNamein interfaceScheduledTask- Returns:
- Details about the task. Can be useful for logging purposes
-