Package org.codice.ddf.commands.solr
Class CacheCommand
java.lang.Object
org.codice.ddf.commands.catalog.CommandSupport
org.codice.ddf.commands.solr.SolrCommands
org.codice.ddf.commands.solr.CacheCommand
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected org.apache.karaf.shell.api.console.SessionFields inherited from class org.codice.ddf.commands.solr.SolrCommands
CLOUD_SOLR_CLIENT_TYPE, configurationAdmin, configurationMap, DEFAULT_CORE_NAME, LOGGER, NAMESPACE, SEE_COMMAND_USAGE_MESSAGE, SOLR_CLIENT_PROP, SYSTEM_PROPERTIES_PATH, ZOOKEEPER_HOSTS_PROPFields inherited from class org.codice.ddf.commands.catalog.CommandSupport
console, MS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codice.ddf.commands.solr.SolrCommands
collectionExists, getBackupUrl, getCloudSolrClient, getCoreUrl, getReplicationUrl, getSolrDataDir, isSolrClientAvailable, isSystemConfiguredWithSolrCloud, optimizeCollection, printColor, printErrorMessage, printInfoMessage, printResponseErrorMessages, printStatus, printSuccessMessage, setConfigurationAdmin, shutdownMethods inherited from class org.codice.ddf.commands.catalog.CommandSupport
calculateRecordsPerSecond, printHeaderMessage, printProgressAndFlush
-
Field Details
-
clear
protected boolean clear -
force
protected boolean force -
session
protected org.apache.karaf.shell.api.console.Session session
-
-
Constructor Details
-
CacheCommand
public CacheCommand()
-
-
Method Details
-
execute
- Throws:
Exception
-
setClient
protected void setClient(org.apache.solr.client.solrj.SolrClient client)
-