com.atlassian.confluence.impl.journal
Class JournalCleaner

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean
          extended by com.atlassian.confluence.impl.journal.JournalCleaner
All Implemented Interfaces:
org.quartz.Job

public class JournalCleaner
extends AbstractClusterAwareQuartzJobBean

Removes old journal entries.

By default entries older than two days are removed, but the life time of entries can be overriden with com.atlassian.confluence.journal.timeToLiveInMillis system property.

Since:
5.6

Constructor Summary
JournalCleaner()
           
JournalCleaner(com.atlassian.core.util.Clock clock)
           
 
Method Summary
protected  void executeJob(org.quartz.JobExecutionContext jobExecutionContext)
           
 void setDefaultTimeToLiveMillis(String defaultTimeToLiveMillis)
           
 void setJournalDao(JournalDao journalDao)
           
 
Methods inherited from class com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean
executeInternal, setClusterManager
 
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalCleaner

public JournalCleaner()

JournalCleaner

public JournalCleaner(com.atlassian.core.util.Clock clock)
Method Detail

executeJob

protected void executeJob(org.quartz.JobExecutionContext jobExecutionContext)
                   throws org.quartz.JobExecutionException
Specified by:
executeJob in class AbstractClusterAwareQuartzJobBean
Throws:
org.quartz.JobExecutionException

setJournalDao

public void setJournalDao(JournalDao journalDao)

setDefaultTimeToLiveMillis

public void setDefaultTimeToLiveMillis(String defaultTimeToLiveMillis)


Copyright © 2003–2015 Atlassian. All rights reserved.