SMILA 1.0 API documentation

org.eclipse.smila.solr
Class SolrManagerAgent

java.lang.Object
  extended by org.eclipse.smila.management.LocatedManagementAgentBase
      extended by org.eclipse.smila.solr.SolrManagerAgent
All Implemented Interfaces:
LocatedManagementAgent, ManagementAgent

public class SolrManagerAgent
extends LocatedManagementAgentBase

The SolrManagerAgent class.

Author:
pwissel

Constructor Summary
SolrManagerAgent(SolrManager solrManager)
          Default constructor.
 
Method Summary
protected  java.lang.String getCategory()
          Gets the category.
 java.lang.String getCoreNames()
          Get all core names.
protected  java.lang.String getName()
          Gets the name.
 java.lang.String getSolrHome()
          Get the solr.home path.
 java.lang.String getSolrServerURL()
          Get the solr server URL, if solr is not embedded.
 java.lang.String isEmbedded()
          Is embedded.
 java.lang.String optimize(java.lang.String coreName)
          Optimize.
 
Methods inherited from class org.eclipse.smila.management.LocatedManagementAgentBase
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrManagerAgent

public SolrManagerAgent(SolrManager solrManager)
Default constructor.

Parameters:
solrManager - the SolrManager instance.
Method Detail

getCategory

protected java.lang.String getCategory()
Gets the category.

Specified by:
getCategory in class LocatedManagementAgentBase
Returns:
the category
See Also:
LocatedManagementAgentBase.getCategory()

getName

protected java.lang.String getName()
Gets the name.

Specified by:
getName in class LocatedManagementAgentBase
Returns:
the name
See Also:
LocatedManagementAgentBase.getName()

isEmbedded

public java.lang.String isEmbedded()
Is embedded.

Returns:
true if is EmbeddedSolrServer, false otherwise (HttpSolrServer).

getSolrHome

public java.lang.String getSolrHome()
Get the solr.home path.

Returns:
the solr.home path.

getSolrServerURL

public java.lang.String getSolrServerURL()
Get the solr server URL, if solr is not embedded.

Returns:
the solr server url.

getCoreNames

public java.lang.String getCoreNames()
Get all core names.

Returns:
all core names.

optimize

public java.lang.String optimize(java.lang.String coreName)
Optimize.

Parameters:
coreName - the core name.
Returns:
the response message.

SMILA 1.0 API documentation