Package org.luwrain.pim.storage
Class ExecQueues
java.lang.Object
org.luwrain.pim.storage.ExecQueues
- All Implemented Interfaces:
AutoCloseable
,Runnable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<T> T
exec
(ExecQueues.Priority priority, FutureTask<T> task) void
run()
-
Constructor Details
-
ExecQueues
public ExecQueues()
-
-
Method Details
-
exec
- Throws:
Exception
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
run
public void run()
-