Class UserHistoryDatabaseCompactor

java.lang.Object
com.atlassian.jira.user.UserHistoryDatabaseCompactor
All Implemented Interfaces:
Startable, com.atlassian.scheduler.JobRunner

public class UserHistoryDatabaseCompactor extends Object implements Startable, com.atlassian.scheduler.JobRunner
Job which clears userhistoryitem table from entries older than 90 days
Since:
v6.4
  • Constructor Details

    • UserHistoryDatabaseCompactor

      public UserHistoryDatabaseCompactor(UserHistoryStore userHistoryStore)
  • Method Details

    • runJob

      @Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest jobRunnerRequest)
      Specified by:
      runJob in interface com.atlassian.scheduler.JobRunner
    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.