Package org.keycloak.models
Interface KeycloakSessionTask
- All Known Subinterfaces:
ScheduledTask
- All Known Implementing Classes:
AbstractLastSessionRefreshStoreFactory.PropagateLastSessionRefreshTask
,ClearExpiredAdminEvents
,ClearExpiredClientInitialAccessTokens
,ClearExpiredEvents
,ClearExpiredRevokedTokens
,ClearExpiredUserSessions
,ExportImportSessionTask
,HibernateStatsReporter
,NamedSessionTask
public interface KeycloakSessionTask
Task to be executed inside transaction
- Author:
- Marek Posolda
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
void
run
(KeycloakSession session) default boolean
-
Method Details
-
run
-
useExistingSession
default boolean useExistingSession() -
getTaskName
- Returns:
- Details about the task. Can be useful for logging purposes
-