AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public class AnyLogicMapDB
extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Author:
AnyLogic North America, LLC https://anylogic.com

Nested Class Summary

Modifier and TypeClassDescription
static enum AnyLogicMapDB.DBFile 

Field Summary

Modifier and TypeFieldDescription
static final StringCACHE_PATH_PROPERTY_NAME 
static final StringDB_DIR 

Constructor Summary

ConstructorDescription
AnyLogicMapDB(String cachePath) 

Method Summary

Modifier and TypeMethodDescription
MapDBCache<double[],double[]>getRouteCache(String cacheId) 
MapDBCache<String,List<GISMarkupDescriptor>>getSearchCache(String cacheId) 
MapDBCache<int[],byte[]>getTileCache(String cacheId) 
static AnyLogicMapDBinstance() 

Methods inherited from class java.lang.Object

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

Field Details

DB_DIR

public static final String DB_DIR
See Also:
Constant Field Values

CACHE_PATH_PROPERTY_NAME

public static final String CACHE_PATH_PROPERTY_NAME
See Also:
Constant Field Values

Constructor Details

AnyLogicMapDB

@AnyLogicInternalAPI
public AnyLogicMapDB(String cachePath)
Parameters:
cachePath - cache directory location

Method Details

instance

public static AnyLogicMapDB instance()

getTileCache

public MapDBCache<int[],byte[]> getTileCache(String cacheId)

getSearchCache

public MapDBCache<String,List<GISMarkupDescriptor>> getSearchCache(String cacheId)

getRouteCache

public MapDBCache<double[],double[]> getRouteCache(String cacheId)