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

public static class EntityTemplateTasks.CachedTask<A,B> extends Object implements PersistTask<A,B>
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.