Package org.opencastproject.util
Class NeedleEye
java.lang.Object
org.opencastproject.util.NeedleEye
Only one function application can be threaded through the needle eye at a time.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NeedleEye
public NeedleEye()
-
-
Method Details
-
apply
Apply functionfonly if no other thread currently applies a function using this needle eye.- Returns:
- the result of
for none if another function is currently being applied.
-