public class OpenSearchDataSourceConfig extends Object
OpenSearchDataSource| Constructor and Description |
|---|
OpenSearchDataSourceConfig() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCacheRefreshIntervalMillis()
The time interval between cache refresh cycles
|
Boolean |
getClearCacheOnStartup()
Whether cache clear when first loading resources is enabled
|
Map<String,org.gcube.opensearch.opensearchlibrary.utils.FactoryClassNamePair> |
getFactories()
The namespace-to-factory class name mappings that the OpenSearch Library will use
|
void |
initFromPropertiesFile()
Called on initialization.
|
void |
setCacheRefreshIntervalMillis(Long cacheRefreshIntervalMillis)
Sets the time interval between cache refresh cycles
|
void |
setClearCacheOnStartup(Boolean clearCacheOnStartup)
Enables or disables cache clearing on startup
|
public Boolean getClearCacheOnStartup()
public Long getCacheRefreshIntervalMillis()
public Map<String,org.gcube.opensearch.opensearchlibrary.utils.FactoryClassNamePair> getFactories()
Map containing all the mappings from OpenSearch extension namespaces to factory class name pairspublic void setClearCacheOnStartup(Boolean clearCacheOnStartup)
clearCacheOnStartup - true if cache clearing should be enabled, false otherwisepublic void setCacheRefreshIntervalMillis(Long cacheRefreshIntervalMillis)
cacheRefreshIntervalMillis - The time interval in millisecodsCopyright © 2017. All Rights Reserved.