org.alfresco.repo.cache
Class EhCacheTracerJob

java.lang.Object
  extended by org.alfresco.repo.cache.EhCacheTracerJob
All Implemented Interfaces:
org.quartz.Job

public class EhCacheTracerJob
extends java.lang.Object
implements org.quartz.Job

Analyzes the size of EHCache caches used.

To activate this class, call the #init() method.


Constructor Summary
EhCacheTracerJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
 void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
          Set the cache manager to analyze.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhCacheTracerJob

public EhCacheTracerJob()
Method Detail

setCacheManager

public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
Set the cache manager to analyze. The default cache manager will be analyzed if this property is not set.

Parameters:
cacheManager - optional cache manager to analyze

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.