Class EntityTemplateTasks.CachedTask<A,B>
java.lang.Object
ch.tocco.nice2.persist.entity.spi.template.EntityTemplateTasks.CachedTask<A,B>
- All Implemented Interfaces:
PersistTask<A,
B>
- Enclosing class:
EntityTemplateTasks
A task that executes another task once and caches the result
as instance member. The next call of this task will return the
previous result.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Method Details
-
run
- Specified by:
run
in interfacePersistTask<A,
B> - Throws:
Exception
-