Package net.sf.toxicity

Examples of net.sf.toxicity.Cachable


       
        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();
View Full Code Here

TOP

Related Classes of net.sf.toxicity.Cachable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.