public final class ActiondConfigFactory extends Object
| Modifier and Type | Method and Description | 
|---|---|
static ActiondConfigFactory | 
getInstance()
Return the singleton instance of this factory. 
 | 
int | 
getMaxOutstandingActions()
Return the maximum number of processes that run simultaneously. 
 | 
long | 
getMaxProcessTime()
Return the maximum time that can be taken by a process. 
 | 
static void | 
init()
Load the config from the default config file and create the singleton
 instance of this factory. 
 | 
static void | 
reload()
Reload the config from the default config file 
 | 
public static void init()
                 throws IOException
IOException - Thrown if the specified config file cannot be readIOException - if any.public static void reload()
                   throws IOException
IOException - Thrown if the specified config file cannot be read/loadedIOException - if any.public static ActiondConfigFactory getInstance()
IllegalStateException - Thrown if the factory has not yet been initialized.public long getMaxProcessTime()
public int getMaxOutstandingActions()
Copyright © 2020. All rights reserved.