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 -
Method Summary
-
Constructor Details
-
HttpCacheInvalidationJobConsumer
public HttpCacheInvalidationJobConsumer()
-
-
Method Details
-
activate
-
process
public org.apache.sling.event.jobs.consumer.JobConsumer.JobResult process(org.apache.sling.event.jobs.Job job) - Specified by:
processin interfaceorg.apache.sling.event.jobs.consumer.JobConsumer
-