Class HttpCacheInvalidationJobConsumer

java.lang.Object
com.adobe.acs.commons.httpcache.invalidator.HttpCacheInvalidationJobConsumer
All Implemented Interfaces:
org.apache.sling.event.jobs.consumer.JobConsumer

@Service @Property(name="job.topics", value="com/adobe/acs/commons/httpcache/invalidator/job", propertyPrivate=true) public class HttpCacheInvalidationJobConsumer extends Object implements org.apache.sling.event.jobs.consumer.JobConsumer
ACS AEM Commons - HTTP Cache - Cache invalidation job consumer Consumes job for invalidating the http cache. Sling job consumer consuming the job created for invalidating cache. For creating an invalidation job for this consumer, make use of the topic and associated constants defined at CacheInvalidationJobConstants
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.sling.event.jobs.consumer.JobConsumer

    org.apache.sling.event.jobs.consumer.JobConsumer.AsyncHandler, org.apache.sling.event.jobs.consumer.JobConsumer.JobResult
  • Field Summary

    Fields inherited from interface org.apache.sling.event.jobs.consumer.JobConsumer

    PROPERTY_JOB_ASYNC_HANDLER, PROPERTY_TOPICS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    org.apache.sling.event.jobs.consumer.JobConsumer.JobResult
    process(org.apache.sling.event.jobs.Job job)
     

    Methods inherited from class java.lang.Object

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

    • HttpCacheInvalidationJobConsumer

      public HttpCacheInvalidationJobConsumer()
  • Method Details

    • activate

      @Activate protected void activate(Map<String,Object> configs)
    • process

      public org.apache.sling.event.jobs.consumer.JobConsumer.JobResult process(org.apache.sling.event.jobs.Job job)
      Specified by:
      process in interface org.apache.sling.event.jobs.consumer.JobConsumer