Index

C F G I P R S W 
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 Process from a Runnable
fromSupplier(String, Supplier<T>) - Static method in class com.mrivanplays.process.ResultedProcess
Creates a new ResultedProcess from a Supplier

G

getError() - Method in class com.mrivanplays.process.ProcessResult
Returns the ProcessException error 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 ProcessResult is 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 ProcessScheduler which also creates a new ExecutorService
ProcessScheduler(Executor) - Constructor for class com.mrivanplays.process.ProcessScheduler
Create a new ProcessScheduler

R

ResultedProcess<T> - Class in com.mrivanplays.process
Represents a Process that has a result.
ResultedProcess(String) - Constructor for class com.mrivanplays.process.ResultedProcess
Base constructor for all ResultedProcess implementations.
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
Runs all the specified Process processes whilst also returning a ProcessesCompletion.
runProcesses(ResultedProcess<T>...) - Method in class com.mrivanplays.process.ProcessScheduler
Runs all the specified ResultedProcess whilst also returning a ResultedProcessesCompletion.

S

shutdownExecutorService() - Method in class com.mrivanplays.process.ProcessScheduler
If an ExecutorService has been created/detected whilst this ProcessScheduler was created, this will call it's ExecutorService.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 callback when all the specified completions complete.
whenDone(Consumer<Map<String, ProcessResult<T>>>) - Method in class com.mrivanplays.process.ResultedProcessesCompletion
Called when all Proccesses are done.
whenDone(Consumer<Set<ProcessException>>) - Method in class com.mrivanplays.process.ProcessesCompletion
Called when all Proccesses are done.
whenDoneAsync(Consumer<Map<String, ProcessResult<T>>>) - Method in class com.mrivanplays.process.ResultedProcessesCompletion
Called when all Processes are done.
whenDoneAsync(Consumer<Set<ProcessException>>) - Method in class com.mrivanplays.process.ProcessesCompletion
Called when all Processes are done.
C F G I P R S W 
All Classes and Interfaces|All Packages|Serialized Form