public class PsConfig
extends java.lang.Object
org.kohsuke.args4j to parse command
line arguments. To add additional arguments used by the application, it is
possible to extend this class and annotate additional fields with
Option, and then using parse(String[])
to parse an array of command-line arguments.| Modifier and Type | Field and Description |
|---|---|
int |
clientId
ID of this client, from 0 to numClients - 1.
|
java.lang.String |
hostFile
Path to the host file.
|
int |
numLocalCommChannels
Number of network threads run on every client.
|
int |
numLocalWorkerThreads
Number of application worker threads run on every client.
|
| Constructor and Description |
|---|
PsConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(java.lang.String[] args)
Parse an array of command-line arguments and sets the fields of this
object accordingly.
|
public int clientId
public java.lang.String hostFile
public int numLocalWorkerThreads
public int numLocalCommChannels
public void parse(java.lang.String[] args)
Option to annotate additional fields.args - array of command-line arguments.