Class CacheInvalidationListener

java.lang.Object
org.alfresco.elasticsearch.batchindexing.listeners.CacheInvalidationListener
All Implemented Interfaces:
org.springframework.batch.core.listener.JobExecutionListener

public class CacheInvalidationListener extends Object implements org.springframework.batch.core.listener.JobExecutionListener
Invalidates the tag and child-association caches in the Alfresco metadata repository before every batch indexing job run.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CacheInvalidationListener(org.alfresco.database.connector.AlfrescoMetadataRepository metadataRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beforeJob(org.springframework.batch.core.job.JobExecution jobExecution)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.batch.core.listener.JobExecutionListener

    afterJob
  • Constructor Details

    • CacheInvalidationListener

      public CacheInvalidationListener(org.alfresco.database.connector.AlfrescoMetadataRepository metadataRepository)
  • Method Details

    • beforeJob

      public void beforeJob(org.springframework.batch.core.job.JobExecution jobExecution)
      Specified by:
      beforeJob in interface org.springframework.batch.core.listener.JobExecutionListener