|
SMILA 1.0 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<DeltaIndexingManager>
org.eclipse.smila.connectivity.deltaindexing.AbstractDeltaIndexingManagerAgent
public abstract class AbstractDeltaIndexingManagerAgent
An abstract base class for DeltaIndexingManagerAgent implementations.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.smila.management.DeclarativeServiceManagementAgent |
|---|
_service |
| Fields inherited from class org.eclipse.smila.management.DeclarativeManagementAgent |
|---|
_log |
| Constructor Summary | |
|---|---|
AbstractDeltaIndexingManagerAgent()
|
|
| Method Summary | |
|---|---|
protected void |
checkDataSource(java.lang.String dataSourceID)
check if DeltaIndexingManager knows about the given data source. |
java.lang.String |
clear(java.lang.String dataSourceID)
Clear all entries of the DeltaIndexingManager for the given dataSourceID. |
java.lang.String |
clearAll()
Clears all entries of the DeltaIndexingManager including entries of any active sessions! |
protected java.lang.String |
getCategory()
Gets the category. |
java.lang.Object |
getEntryCount(java.lang.String dataSourceID)
Get the number of delta indexing entries for the given dataSourceID. |
java.util.Map<java.lang.String,java.lang.Long> |
getEntryCounts()
Get the number of delta indexing entries for all data sources. |
protected java.lang.String |
getErrorMessage(java.lang.Throwable ex)
|
java.util.Map<java.lang.String,java.lang.String> |
getLockStates()
Get an overview what data sources are locked or unlocked. |
protected java.lang.String |
getName()
Gets the name. |
java.lang.String |
unlock(java.lang.String dataSourceID)
Unlock the given data source and removes the sessions. |
java.lang.String |
unlockAll()
Unlock all data sources and removes all sessions. |
| 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 AbstractDeltaIndexingManagerAgent()
| Method Detail |
|---|
protected java.lang.String getCategory()
getCategory in class LocatedManagementAgentBaseLocatedManagementAgentBase.getCategory()protected java.lang.String getName()
getName in class LocatedManagementAgentBaseLocatedManagementAgentBase.getName()public java.lang.String clear(java.lang.String dataSourceID)
clear in interface DeltaIndexingManagerAgentdataSourceID - the data source id
DeltaIndexingManagerAgent.clear(java.lang.String)public java.lang.String clearAll()
clearAll in interface DeltaIndexingManagerAgentDeltaIndexingManagerAgent.clearAll()public java.lang.String unlock(java.lang.String dataSourceID)
unlock in interface DeltaIndexingManagerAgentdataSourceID - the data source id
DeltaIndexingManagerAgent.unlock(String)public java.lang.String unlockAll()
unlockAll in interface DeltaIndexingManagerAgentDeltaIndexingManagerAgent.unlockAll()public java.util.Map<java.lang.String,java.lang.String> getLockStates()
getLockStates in interface DeltaIndexingManagerAgentDeltaIndexingManagerAgent.getLockStates()public java.lang.Object getEntryCount(java.lang.String dataSourceID)
getEntryCount in interface DeltaIndexingManagerAgentdataSourceID - the data source id
DeltaIndexingManagerAgent.getEntryCount(String)public java.util.Map<java.lang.String,java.lang.Long> getEntryCounts()
getEntryCounts in interface DeltaIndexingManagerAgentDeltaIndexingManagerAgent.getEntryCounts()
protected void checkDataSource(java.lang.String dataSourceID)
throws DeltaIndexingException
dataSourceID - the data source id
DeltaIndexingException - if no such data source exists.protected java.lang.String getErrorMessage(java.lang.Throwable ex)
ex - an exception
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||