Package org.apache.jena.system
Class ThreadAction
- java.lang.Object
-
- org.apache.jena.system.ThreadAction
-
public class ThreadAction extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreadActioncreate(java.lang.Runnable action)Create aThreadAction.static ThreadActioncreate(java.lang.Runnable before, java.lang.Runnable action, java.lang.Runnable after)Create aThreadAction.voidrun()Perform the Runnable, reporting anyRuntimeExceptionorError
-
-
-
Method Detail
-
run
public void run()
Perform the Runnable, reporting anyRuntimeExceptionorError
-
create
public static ThreadAction create(java.lang.Runnable action)
Create aThreadAction.- Parameters:
action- The main action run whenrun()called.- Returns:
- ThreadAction
-
create
public static ThreadAction create(java.lang.Runnable before, java.lang.Runnable action, java.lang.Runnable after)
Create aThreadAction.
-
-