Class ContentCleanerService

java.lang.Object
org.jboss.as.server.deployment.ContentCleanerService
All Implemented Interfaces:
org.jboss.msc.Service

public class ContentCleanerService extends Object implements 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

    Fields
    Modifier and Type
    Field
    Description
    static final long
    The 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 Type
    Method
    Description
    static void
    addService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName clientFactoryService, org.jboss.msc.service.ServiceName scheduledExecutorServiceName)
     
    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)
     
    void
    start(org.jboss.msc.service.StartContext context)
     
    void
    stop(org.jboss.msc.service.StopContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_INTERVAL

      public static final long DEFAULT_INTERVAL
      The 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:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service