Class UserInfoRefreshJob

java.lang.Object
pro.taskana.common.internal.jobs.AbstractTaskanaJob
pro.taskana.user.jobs.UserInfoRefreshJob
All Implemented Interfaces:
pro.taskana.common.internal.jobs.TaskanaJob

public class UserInfoRefreshJob extends pro.taskana.common.internal.jobs.AbstractTaskanaJob
Job to refresh all user info after a period of time.
  • Field Summary

    Fields inherited from class pro.taskana.common.internal.jobs.AbstractTaskanaJob

    firstRun, runEvery, scheduledJob, taskanaEngineImpl, txProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserInfoRefreshJob(pro.taskana.common.api.TaskanaEngine taskanaEngine)
     
    UserInfoRefreshJob(pro.taskana.common.api.TaskanaEngine taskanaEngine, TaskanaTransactionProvider txProvider, pro.taskana.common.api.ScheduledJob scheduledJob)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    static Duration
    getLockExpirationPeriod(pro.taskana.TaskanaConfiguration taskanaConfiguration)
     
    protected String
     

    Methods inherited from class pro.taskana.common.internal.jobs.AbstractTaskanaJob

    createFromScheduledJob, getFirstRun, getNextDueForJob, getRunEvery, initializeSchedule, isAsync, run, scheduleNextJob

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserInfoRefreshJob

      public UserInfoRefreshJob(pro.taskana.common.api.TaskanaEngine taskanaEngine)
    • UserInfoRefreshJob

      public UserInfoRefreshJob(pro.taskana.common.api.TaskanaEngine taskanaEngine, TaskanaTransactionProvider txProvider, pro.taskana.common.api.ScheduledJob scheduledJob)
  • Method Details

    • getLockExpirationPeriod

      public static Duration getLockExpirationPeriod(pro.taskana.TaskanaConfiguration taskanaConfiguration)
    • getType

      protected String getType()
      Specified by:
      getType in class pro.taskana.common.internal.jobs.AbstractTaskanaJob
    • execute

      protected void execute()
      Specified by:
      execute in class pro.taskana.common.internal.jobs.AbstractTaskanaJob