Class 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 Detail

      • HttpCacheInvalidationJobConsumer

        public HttpCacheInvalidationJobConsumer()
    • Method Detail

      • 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