Package com.cloudbees.jenkins.support
Class AsyncResultCache<T>
- java.lang.Object
-
- com.cloudbees.jenkins.support.AsyncResultCache<T>
-
-
Constructor Summary
Constructors Constructor Description AsyncResultCache(Node node, WeakHashMap<Node,T> cache, Future<T> future, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V,T extends Throwable>
Vget(Node node, WeakHashMap<Node,V> cache, hudson.remoting.Callable<V,T> operation, String name)
static <V,T extends Throwable>
Vget(Node node, WeakHashMap<Node,V> cache, hudson.remoting.Callable<V,T> operation, String name, V defaultIfNull)
void
run()
-
-
-
Method Detail
-
get
public static <V,T extends Throwable> V get(Node node, WeakHashMap<Node,V> cache, hudson.remoting.Callable<V,T> operation, String name, V defaultIfNull) throws IOException
- Throws:
IOException
-
get
public static <V,T extends Throwable> V get(Node node, WeakHashMap<Node,V> cache, hudson.remoting.Callable<V,T> operation, String name) throws IOException
- Throws:
IOException
-
-