public final class Options extends Object
Options which can used to instantiate IGRAInstance to run routing operations.
Options class is an alternative for various parameters which are present as part of the .properties file,
required by the routing engine.
| Modifier and Type | Class and Description |
|---|---|
static class |
Options.Builder
Builder class to create
Options object. |
| Modifier and Type | Method and Description |
|---|---|
CoordSys |
getDefaultCoordSys()
Returns the default value of Coordinate System if no value is specified in the request.
|
long |
getIsoTimeout()
Returns the amount of processing time (in milliseconds) before stopping an ISO routing request
if processing is not complete.
|
int |
getLongProcessThreads()
Returns the number of threads to be used for isochrone, matrix route and multipoint route requests.
|
long |
getMatrixRouteTimeout()
Returns the amount of processing time (in milliseconds) before stopping a matrix routing request
if processing is not complete.
|
long |
getMultiPointTimeout()
Returns the amount of processing time (in milliseconds) before stopping a multipoint routing request
if processing is not complete.
|
long |
getRouteTimeout()
Returns the amount of processing time (in milliseconds) before stopping a point to point routing request
if processing is not complete.
|
int |
getShortProcessThreads()
Returns the number of threads to be used for point to point route requests.
|
File |
getUpdateFilePath()
Returns a
File object containing the path where are system updates are saved. |
boolean |
isAllowFallback()
Returns whether to use or not, the major roads when other roads cannot be used.
|
public CoordSys getDefaultCoordSys()
CoordSys, default value of Coordinate System.public long getRouteTimeout()
public long getMultiPointTimeout()
public long getIsoTimeout()
public long getMatrixRouteTimeout()
public boolean isAllowFallback()
public int getShortProcessThreads()
public int getLongProcessThreads()