Package com.peterphi.std.threading
Class ParamInvokeable<T>
java.lang.Object
com.peterphi.std.threading.ParamRunnable<T>
com.peterphi.std.threading.ParamInvokeable<T>
- Type Parameters:
T
-
A special ParamRunnable which runs synchronously once prepare() is called
-
Field Summary
Fields inherited from class com.peterphi.std.threading.ParamRunnable
prepared
-
Constructor Summary
-
Method Summary
Methods inherited from class com.peterphi.std.threading.ParamRunnable
run
-
Constructor Details
-
ParamInvokeable
public ParamInvokeable()
-
-
Method Details
-
prepare
Deprecated.if calling a ParamInvokeable directly the call(T) method should be used; this method is for maintaining full backwards compatibility with ParamRunnable- Overrides:
prepare
in classParamRunnable<T>
- See Also:
-
call
Synchronously executes this Invokeable- Parameters:
param
-
-