This project has retired. For details please refer to its
Attic page .
CocoonStoreJanitor (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.store.impl
Class CocoonStoreJanitor
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.store.impl.StoreJanitorImpl
org.apache.cocoon.components.store.impl.CocoonStoreJanitor
All Implemented Interfaces: Runnable , Disposable , Startable , Component , LogEnabled , Parameterizable , Serviceable , ThreadSafe , StoreJanitor
public class CocoonStoreJanitor extends StoreJanitorImpl implements Serviceable , Disposable
The CocoonStoreJanitor class just subclasses the StoreJanitorImpl
to
overwrite the start method for background thread creation using the Cocoon
RunnableManager
.
Version:
$Id: CocoonStoreJanitor.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Giacomo Pati
Method Summary
void
dispose ()
Release RunnableManager
void
parameterize (Parameters params)
Parameterize the StoreJanitorImpl.
void
run ()
The "checker" thread checks if memory is running low in the jvm.
void
service (ServiceManager serviceManager)
Get the RunnableManager
void
start ()
Start this instance using a default thread from the
RunnableManager
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
CocoonStoreJanitor
public CocoonStoreJanitor ()
parameterize
public void parameterize (Parameters params)
throws ParameterException
Description copied from class: StoreJanitorImpl
Parameterize the StoreJanitorImpl.
Specified by: parameterize
in interface Parameterizable
Overrides: parameterize
in class StoreJanitorImpl
Throws:
ParameterException
service
public void service (ServiceManager serviceManager)
throws ServiceException
Get the RunnableManager
Specified by: service
in interface Serviceable
Parameters: serviceManager
- The ServiceManager
Throws:
ServiceException
- If RunnableManager is not available
dispose
public void dispose ()
Release RunnableManager
Specified by: dispose
in interface Disposable
run
public void run ()
The "checker" thread checks if memory is running low in the jvm.
Specified by: run
in interface Runnable
Overrides: run
in class StoreJanitorImpl
start
public void start ()
Start this instance using a default thread from the
RunnableManager
Specified by: start
in interface Startable
Overrides: start
in class StoreJanitorImpl
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.