public static CachedPrintQuery get4Request ( final Instance _instance ) throws EFapsException { return new CachedPrintQuery ( _instance , Context . getThreadContext ( ) . getRequestId ( ) ) . setLifespan ( 5 ) . setLifespanUnit ( TimeUnit . MINUTES ) ; }
Get a CachedPrintQuery that will only cache during a request .