Package com.peterphi.std.threading
Class ParamRunnable<T>
java.lang.Object
com.peterphi.std.threading.ParamRunnable<T>
- Record Components:
T
- the parameter type
- Direct Known Subclasses:
ParamInvokeable
A class encapsulating the Runnable idea, mixed with Callable - instead of having a return type, this takes an argument to be
passed to the
run
method-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
prepared
protected boolean prepared
-
-
Constructor Details
-
ParamRunnable
public ParamRunnable()
-
-
Method Details
-
prepare
-
run
-