|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.management.LocatedManagementAgentBase
org.eclipse.smila.management.DeclarativeManagementAgent
org.eclipse.smila.management.DeclarativeServiceManagementAgent<LuceneIndexService>
org.eclipse.smila.lucene.LuceneManagementAgent
public class LuceneManagementAgent
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. |
void |
flushIndex(java.lang.String indexName)
Flushes the 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 |
removeWriteLock(java.lang.String indexName)
Removes the write lock on an index if any 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 |
|---|
public LuceneManagementAgent()
| Method Detail |
|---|
protected java.lang.String getCategory()
getCategory in class LocatedManagementAgentBaseLocatedManagementAgentBase.getCategory()public java.lang.String getName()
getName in class LocatedManagementAgentBaseorg.eclipse.smila.management.ManagementAgent#getName()public boolean isIndexExists(java.lang.String indexName)
indexName - the index name
public void reorganizeIndex(java.lang.String indexName)
indexName - the index namepublic void deleteIndex(java.lang.String indexName)
indexName - the index name
public void renameIndex(java.lang.String oldIndexName,
java.lang.String newIndexName)
oldIndexName - the old index namenewIndexName - the new index namepublic void createIndex(java.lang.String indexName)
indexName - the index namepublic void flushIndex(java.lang.String indexName)
indexName - name of the index to flushpublic void removeWriteLock(java.lang.String indexName)
indexName - name of the index
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||