Package org.jboss.as.server.deployment
Class ContentCleanerService
java.lang.Object
org.jboss.as.server.deployment.ContentCleanerService
- All Implemented Interfaces:
org.jboss.msc.Service
Service in charge with cleaning left over contents from the content repository.
- Author:
- Emmanuel Hugonnet (c) 2014 Red Hat, inc., Richard Opalka
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe conten repository cleaner will test content for clean-up every 5 minutes.Fields inherited from interface org.jboss.msc.Service
NULL -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName clientFactoryService, org.jboss.msc.service.ServiceName scheduledExecutorServiceName) static voidaddServiceOnHostController(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName hostControllerServiceName, org.jboss.msc.service.ServiceName clientFactoryServiceName, org.jboss.msc.service.ServiceName hostControllerExecutorServiceName, org.jboss.msc.service.ServiceName scheduledExecutorServiceName) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Field Details
-
DEFAULT_INTERVAL
public static final long DEFAULT_INTERVALThe conten repository cleaner will test content for clean-up every 5 minutes.
-
-
Method Details
-
addService
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName clientFactoryService, org.jboss.msc.service.ServiceName scheduledExecutorServiceName) -
addServiceOnHostController
public static void addServiceOnHostController(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName hostControllerServiceName, org.jboss.msc.service.ServiceName clientFactoryServiceName, org.jboss.msc.service.ServiceName hostControllerExecutorServiceName, org.jboss.msc.service.ServiceName scheduledExecutorServiceName) -
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-