SMILA (incubation) API documentation

org.eclipse.smila.connectivity.deltaindexing
Interface DeltaIndexingManagerAgent

All Known Implementing Classes:
AbstractDeltaIndexingManagerAgent, DeltaIndexingManagerAgentImpl, DeltaIndexingManagerAgentImpl

public interface DeltaIndexingManagerAgent

The Interface DeltaIndexingManagerAgent.


Method Summary
 void clear(java.lang.String dataSourceID)
          Clear.
 void clearAll()
          Clear all.
 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,java.lang.String> getLockStates()
          Get an overview what data sources are locked or unlocked.
 void unlock(java.lang.String dataSourceID)
          Unlocks the given data source.
 void unlockAll()
          Unlock all data sources.
 

Method Detail

clear

void clear(java.lang.String dataSourceID)
Clear.

Parameters:
dataSourceID - the data source id

clearAll

void clearAll()
Clear all.


unlock

void unlock(java.lang.String dataSourceID)
Unlocks the given data source.

Parameters:
dataSourceID - the data source id

unlockAll

void unlockAll()
Unlock all data sources.


getLockStates

java.util.Map<java.lang.String,java.lang.String> getLockStates()
Get an overview what data sources are locked or unlocked.

Returns:
a map containing the dataSoureId and the LockState

getEntryCount

long getEntryCount(java.lang.String dataSourceID)
Get the number of delta indexing entries for the given dataSourceID.

Parameters:
dataSourceID - the data source id
Returns:
the number of entries

getEntryCounts

java.util.Map<java.lang.String,java.lang.Long> getEntryCounts()
Get the number of delta indexing entries for all data sources.

Returns:
a map containing the dataSoureId and the entry count

SMILA (incubation) API documentation