Package org.keycloak.services.scheduled
Class ScheduledTaskRunner
- java.lang.Object
-
- org.keycloak.services.scheduled.ScheduledTaskRunner
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ClusterAwareScheduledTaskRunner
public class ScheduledTaskRunner extends Object implements Runnable
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description protected KeycloakSessionFactory
sessionFactory
protected ScheduledTask
task
-
Constructor Summary
Constructors Constructor Description ScheduledTaskRunner(KeycloakSessionFactory sessionFactory, ScheduledTask task)
ScheduledTaskRunner(KeycloakSessionFactory sessionFactory, ScheduledTask task, int transactionLimit)
-
-
-
Field Detail
-
sessionFactory
protected final KeycloakSessionFactory sessionFactory
-
task
protected final ScheduledTask task
-
-
Constructor Detail
-
ScheduledTaskRunner
public ScheduledTaskRunner(KeycloakSessionFactory sessionFactory, ScheduledTask task)
-
ScheduledTaskRunner
public ScheduledTaskRunner(KeycloakSessionFactory sessionFactory, ScheduledTask task, int transactionLimit)
-
-
Method Detail
-
runTask
protected void runTask(KeycloakSession session)
-
-