|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDeltaIndexingManager
The Interface DeltaIndexingManager.
Nested Class Summary | |
---|---|
static class |
IDeltaIndexingManager.LockState
An enumeration defining the lock states a data source in the DeltaIndexingManager. |
Method Summary | |
---|---|
void |
clear()
Clears all entries of the DeltaIndexingManager including sessions. |
IDeltaIndexingSession |
createSession(java.lang.String dataSourceID)
Initializes the internal state for an import of a dataSourceID and creates a session wherein it establishes a lock to avoid that the same dataSourceID is initialized multiple times concurrently. |
boolean |
dataSourceExists(java.lang.String dataSourceId)
Checks if the entries for the given dataSourceId exist. |
long |
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. |
java.util.Map<java.lang.String,IDeltaIndexingManager.LockState> |
getLockStates()
Gets an overview what data sources are locked or unlocked. |
void |
unlockDatasource(java.lang.String dataSourceID)
Unlock the given data source and removes the sessions. |
void |
unlockDatasources()
Unlock all data sources and removes all sessions. |
Method Detail |
---|
IDeltaIndexingSession createSession(java.lang.String dataSourceID) throws DeltaIndexingException
dataSourceID
- dataSourceID
DeltaIndexingException
- the delta indexing exceptionvoid clear() throws DeltaIndexingException
DeltaIndexingException
- the delta indexing exceptionvoid unlockDatasource(java.lang.String dataSourceID) throws DeltaIndexingException
dataSourceID
- the data source id
DeltaIndexingException
- the delta indexing exceptionvoid unlockDatasources() throws DeltaIndexingException
DeltaIndexingException
- the delta indexing exceptionjava.util.Map<java.lang.String,IDeltaIndexingManager.LockState> getLockStates()
boolean dataSourceExists(java.lang.String dataSourceId)
dataSourceId
- the data source id
long getEntryCount(java.lang.String dataSourceID)
dataSourceID
- the data source id
java.util.Map<java.lang.String,java.lang.Long> getEntryCounts()
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |