The cache get stage is used in conjunction with the Cache component/stage. Jobs run through the cache get stage use a service tracker to reference the Cache component and call processGet(Job) on the Cache to ensure consistent calculation of keys based on the document attached to the job.
If the processGet(Job) indicates that the cache was hit, this component will by default, terminate the job, meaning that no further stages are run.
|cache||String||MANDATORY: The path (relative or absolute) of the Cache component.|
|terminate||Boolean||true||If true, the job will be terminated if the Cache lookup produces a hit. In this case, no further stages will be run. To allow further processing after a hit, set this value to false.|
<component name="myCacheGet" subType="get" factoryName="aspire-cache"> <cache>/TestCache/myCache</cache> <terminate>false</terminate> </component>