|
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.search.index.IndexManager
public abstract class IndexManager
The Class IndexManager.
| Method Summary | |
|---|---|
protected static void |
doGarbageCollection()
Do garbage collection on index connections. |
static IndexConnection |
getInstance(java.lang.String indexName)
Returns the instance of a requested IndexConnection by the IndexName. |
static boolean |
isIndexBusy(java.lang.String indexName)
Checks if is index busy. |
static void |
releaseInstance(IndexConnection indexConnection)
Release index connection. |
static void |
releaseInstance(IndexConnection indexConnection,
boolean destroy)
Release index connection. |
static void |
shutdown()
Shutdown all connections. |
static void |
startBurstmode(IndexConnection indexConnection)
Start burst mode for index connection. |
static void |
stopBurstmode(IndexConnection indexConnection)
Stop burst mode for index connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IndexConnection getInstance(java.lang.String indexName)
throws IndexException
indexName - Index name.
IndexException - Unable to get instance of index connection.public static void releaseInstance(IndexConnection indexConnection)
releaseInstance(IndexConnection, boolean
indexConnection - Index connection to release.
public static void releaseInstance(IndexConnection indexConnection,
boolean destroy)
indexConnection - Index connection to release.destroy - Whether to destroy the index connection.protected static void doGarbageCollection()
public static void startBurstmode(IndexConnection indexConnection)
throws IndexException
indexConnection - Current index connection.
IndexException - Unable to start burst mode.
public static void stopBurstmode(IndexConnection indexConnection)
throws IndexException
indexConnection - Current index connection.
IndexException - Unable to stop burst mode.
public static void shutdown()
throws IndexException
IndexException - Unable to shutdown all connections.
public static boolean isIndexBusy(java.lang.String indexName)
throws IndexException
indexName - the index name
IndexException - the index exception
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||