Package com.mckoi.database
Class WorkerPool.RunCommand
- java.lang.Object
-
- com.mckoi.database.WorkerPool.RunCommand
-
- Enclosing class:
- WorkerPool
private static final class WorkerPool.RunCommand extends java.lang.Object
Structures within the run_queue list. This stores the Runnable to run and the User that's executing the command.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DatabaseConnection
database
(package private) java.lang.Runnable
runnable
(package private) User
user
-
Constructor Summary
Constructors Constructor Description RunCommand(User user, DatabaseConnection database, java.lang.Runnable runnable)
-
-
-
Field Detail
-
user
User user
-
database
DatabaseConnection database
-
runnable
java.lang.Runnable runnable
-
-
Constructor Detail
-
RunCommand
public RunCommand(User user, DatabaseConnection database, java.lang.Runnable runnable)
-
-