Pipeline p = (Pipeline)pjp.getTarget();
Document d = (Document)pjp.getArgs()[0];
// check if current pipeline is cachable - abort on negative result
Cachable cb = p.getClass().getAnnotation(Cachable.class);
if(cb == null) {
log.debug("Pipeline not cachable. Aborting.");
mLastModified.set(-1L);
mNoCache.set(true);
return (Document)pjp.proceed();