Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.mrivanplays.process - package com.mrivanplays.process
F
- failure(ProcessException) - Static method in class com.mrivanplays.process.ProcessResult
-
Create a failure
ProcessResult - fromRunnable(Runnable) - Static method in class com.mrivanplays.process.Process
-
Creates a new
Processfrom aRunnable - fromSupplier(String, Supplier<T>) - Static method in class com.mrivanplays.process.ResultedProcess
-
Creates a new
ResultedProcessfrom aSupplier
G
- getError() - Method in class com.mrivanplays.process.ProcessResult
-
Returns the
ProcessExceptionerror if present. - getValue() - Method in class com.mrivanplays.process.ProcessResult
-
Returns the resulted value if present.
I
- isSuccessful() - Method in class com.mrivanplays.process.ProcessResult
-
Returns whether this
ProcessResultis successful.
P
- Process - Class in com.mrivanplays.process
-
Represents a process that's going to be run.
- Process() - Constructor for class com.mrivanplays.process.Process
- ProcessesCompletion - Class in com.mrivanplays.process
-
Represents a completion of all the processes.
- ProcessException - Exception in com.mrivanplays.process
-
Represents an exception, which is used to hold exceptions, thrown by
Processes - ProcessException(String) - Constructor for exception com.mrivanplays.process.ProcessException
- ProcessException(String, Throwable) - Constructor for exception com.mrivanplays.process.ProcessException
- ProcessResult<T> - Class in com.mrivanplays.process
-
Represents a result of a
ResultedProcess - ProcessScheduler - Class in com.mrivanplays.process
-
Represents a scheduler of
Processes. - ProcessScheduler() - Constructor for class com.mrivanplays.process.ProcessScheduler
-
Create a new
ProcessSchedulerwhich also creates a newExecutorService - ProcessScheduler(Executor) - Constructor for class com.mrivanplays.process.ProcessScheduler
-
Create a new
ProcessScheduler
R
- ResultedProcess<T> - Class in com.mrivanplays.process
-
Represents a
Processthat has a result. - ResultedProcess(String) - Constructor for class com.mrivanplays.process.ResultedProcess
-
Base constructor for all
ResultedProcessimplementations. - ResultedProcessesCompletion<T> - Class in com.mrivanplays.process
-
Represents a completion of all the
resulted processes - run() - Method in class com.mrivanplays.process.Process
-
Main logic for running this process.
- run() - Method in class com.mrivanplays.process.ResultedProcess
-
Main logic for running the process
- runProcesses(Process...) - Method in class com.mrivanplays.process.ProcessScheduler
- runProcesses(ResultedProcess<T>...) - Method in class com.mrivanplays.process.ProcessScheduler
-
Runs all the specified
ResultedProcesswhilst also returning aResultedProcessesCompletion.
S
- shutdownExecutorService() - Method in class com.mrivanplays.process.ProcessScheduler
-
If an
ExecutorServicehas been created/detected whilst thisProcessSchedulerwas created, this will call it'sExecutorService.shutdown()method. - success(T) - Static method in class com.mrivanplays.process.ProcessResult
-
Create a successful
ProcessResult
W
- whenAllDone(boolean, Consumer<Set<ProcessException>>, ProcessesCompletion...) - Static method in class com.mrivanplays.process.ProcessesCompletion
-
Runs the specified
callbackwhen all the specifiedcompletionscomplete. - whenDone(Consumer<Map<String, ProcessResult<T>>>) - Method in class com.mrivanplays.process.ResultedProcessesCompletion
-
Called when all
Proccessesare done. - whenDone(Consumer<Set<ProcessException>>) - Method in class com.mrivanplays.process.ProcessesCompletion
-
Called when all
Proccessesare done. - whenDoneAsync(Consumer<Map<String, ProcessResult<T>>>) - Method in class com.mrivanplays.process.ResultedProcessesCompletion
-
Called when all
Processesare done. - whenDoneAsync(Consumer<Set<ProcessException>>) - Method in class com.mrivanplays.process.ProcessesCompletion
-
Called when all
Processesare done.
All Classes and Interfaces|All Packages|Serialized Form