ModeShape Distribution 3.5.0.Final

org.modeshape.jcr
Class JcrRepository.OptimizationTask

java.lang.Object
  extended by org.modeshape.jcr.JcrRepository.BackgroundRepositoryTask
      extended by org.modeshape.jcr.JcrRepository.OptimizationTask
All Implemented Interfaces:
Runnable
Enclosing class:
JcrRepository

protected static class JcrRepository.OptimizationTask
extends JcrRepository.BackgroundRepositoryTask


Constructor Summary
protected JcrRepository.OptimizationTask(JcrRepository repository, int targetCount, int tolerance)
           
 
Method Summary
protected  void doRun(JcrRepository repository)
          Perform the garbage collection task.
 
Methods inherited from class org.modeshape.jcr.JcrRepository.BackgroundRepositoryTask
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrRepository.OptimizationTask

protected JcrRepository.OptimizationTask(JcrRepository repository,
                                         int targetCount,
                                         int tolerance)
Method Detail

doRun

protected void doRun(JcrRepository repository)
Description copied from class: JcrRepository.BackgroundRepositoryTask
Perform the garbage collection task.

Specified by:
doRun in class JcrRepository.BackgroundRepositoryTask
Parameters:
repository - the non-null and running repository instance

ModeShape Distribution 3.5.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.