AnyLogic
Expand
Font size
All Implemented Interfaces:
IGISRouteProvider, IRouteProvider<Curve<GISMarkupSegment>>, Serializable
Direct Known Subclasses:
AnyLogicOnlineRouteProvider, BRouterOSMRouteProvider, GraphHopperRouteProvider, YoursOSMRouteProvider

@AnyLogicInternalAPI
public abstract class AbstractGISRouteProviderWithCache
extends AbstractGISRouteProvider
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
AbstractGISRouteProviderWithCache(com.anylogic.engine.gis.AbstractGISRouteProviderWithCache.GISRouteFinderConfig routeFinderConfig)
Subclasses should call this super-constructor at start and #initialize() at the end of their constructor code.

Method Summary

Methods inherited from class com.anylogic.engine.gis.AbstractGISRouteProvider

getDistance, getPathData, getPathData, isThrowError, setRouteNotFoundBehavior

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.gis.IGISRouteProvider

getDistance, getDistance, getDistance, getLength, getPathData, getPathData, getPositionAtOffset, getRoute, getRoute, getRoute, getRoute

Constructor Details

AbstractGISRouteProviderWithCache

public AbstractGISRouteProviderWithCache(com.anylogic.engine.gis.AbstractGISRouteProviderWithCache.GISRouteFinderConfig routeFinderConfig)
Subclasses should call this super-constructor at start and #initialize() at the end of their constructor code.
Parameters:
routeCacheId -
networkRecoveryTimeoutInMillis - for how long to suspend all the queries to rawFinder if there was an error. E.g. for network-based finders there could be a timeout of 5 minutes.