SMILA (incubation) API documentation

org.eclipse.smila.lucene
Class LuceneManagementAgent

java.lang.Object
  extended by org.eclipse.smila.management.LocatedManagementAgentBase
      extended by org.eclipse.smila.management.DeclarativeManagementAgent
          extended by org.eclipse.smila.management.DeclarativeServiceManagementAgent<LuceneIndexService>
              extended by org.eclipse.smila.lucene.LuceneManagementAgent
All Implemented Interfaces:
LocatedManagementAgent, ManagementAgent

public class LuceneManagementAgent
extends DeclarativeServiceManagementAgent<LuceneIndexService>

The Class LuceneManagementAgent.


Field Summary
 
Fields inherited from class org.eclipse.smila.management.DeclarativeServiceManagementAgent
_service
 
Fields inherited from class org.eclipse.smila.management.DeclarativeManagementAgent
_log
 
Constructor Summary
LuceneManagementAgent()
           
 
Method Summary
 void createIndex(java.lang.String indexName)
          Creates the index.
 void deleteIndex(java.lang.String indexName)
          Delete index.
protected  java.lang.String getCategory()
          Gets the category.
 java.lang.String getName()
          Gets the name.
 boolean isIndexExists(java.lang.String indexName)
          Checks if is index exists.
 void renameIndex(java.lang.String oldIndexName, java.lang.String newIndexName)
          Rename index.
 void reorganizeIndex(java.lang.String indexName)
          Reorganize index.
 
Methods inherited from class org.eclipse.smila.management.DeclarativeServiceManagementAgent
setService, unsetService
 
Methods inherited from class org.eclipse.smila.management.DeclarativeManagementAgent
activate, deactivate
 
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

LuceneManagementAgent

public LuceneManagementAgent()
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

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

Specified by:
getName in class LocatedManagementAgentBase
Returns:
the name
See Also:
org.eclipse.smila.management.ManagementAgent#getName()

isIndexExists

public boolean isIndexExists(java.lang.String indexName)
Checks if is index exists.

Parameters:
indexName - the index name
Returns:
true, if is index exists

reorganizeIndex

public void reorganizeIndex(java.lang.String indexName)
Reorganize index.

Parameters:
indexName - the index name

deleteIndex

public void deleteIndex(java.lang.String indexName)
Delete index.

Parameters:
indexName - the index name

renameIndex

public void renameIndex(java.lang.String oldIndexName,
                        java.lang.String newIndexName)
Rename index.

Parameters:
oldIndexName - the old index name
newIndexName - the new index name

createIndex

public void createIndex(java.lang.String indexName)
Creates the index.

Parameters:
indexName - the index name

SMILA (incubation) API documentation