|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.opensearch.opensearchdatasource.OpenSearchDataSourceConfig
public class OpenSearchDataSourceConfig
The configuration parameters of the OpenSearchDataSource
Constructor Summary | |
---|---|
OpenSearchDataSourceConfig()
|
Method Summary | |
---|---|
java.lang.Long |
getCacheRefreshIntervalMillis()
The time interval between cache refresh cycles |
java.lang.Boolean |
getClearCacheOnStartup()
Whether cache clear when first loading resources is enabled |
java.util.Map<java.lang.String,FactoryClassNamePair> |
getFactories()
The namespace-to-factory class name mappings that the OpenSearch Library will use |
java.lang.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(java.lang.Long cacheRefreshIntervalMillis)
Sets the time interval between cache refresh cycles |
void |
setClearCacheOnStartup(java.lang.Boolean clearCacheOnStartup)
Enables or disables cache clearing on startup |
void |
setOpenSearchLibraryFactories(java.lang.String openSearchLibraryFactories)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenSearchDataSourceConfig()
Method Detail |
---|
public java.lang.Boolean getClearCacheOnStartup()
public java.lang.Long getCacheRefreshIntervalMillis()
public java.util.Map<java.lang.String,FactoryClassNamePair> getFactories()
Map
containing all the mappings from OpenSearch extension namespaces to factory class name pairspublic java.lang.String getOpenSearchLibraryFactories()
Map
containing all the mappings from OpenSearch extension namespaces to factory class name pairspublic void setClearCacheOnStartup(java.lang.Boolean clearCacheOnStartup)
clearCacheOnStartup
- true if cache clearing should be enabled, false otherwisepublic void setCacheRefreshIntervalMillis(java.lang.Long cacheRefreshIntervalMillis)
cacheRefreshIntervalMillis
- The time interval in millisecodspublic void setOpenSearchLibraryFactories(java.lang.String openSearchLibraryFactories)
public void initialize() throws java.lang.Exception
initialize
in interface org.globus.wsrf.jndi.Initializable
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |