public class OpenSearchDataSourceConfig extends Object implements org.globus.wsrf.jndi.Initializable
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
|
String |
getOpenSearchLibraryFactories()
The namespace-to-factory class name mappings that the OpenSearch Library will use, in string format
|
void |
initialize()
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
|
void |
setOpenSearchLibraryFactories(String openSearchLibraryFactories) |
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 String getOpenSearchLibraryFactories()
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 millisecodspublic void setOpenSearchLibraryFactories(String openSearchLibraryFactories)
Copyright © 2014. All Rights Reserved.