|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeltaIndexingManager
The Interface DeltaIndexingManager.
| Method Summary | |
|---|---|
boolean |
checkForUpdate(Id id,
java.lang.String hash)
checks for the hash of the current id is new or has changed (true) or not (false). // to reduce method calls mark entry as visited on return value false |
void |
clear()
Clear. |
void |
clear(java.lang.String dataSourceID)
Clear. |
void |
delete(Id id)
Delete. |
boolean |
exists(java.lang.String dataSourceId)
Exists. |
void |
finish(java.lang.String dataSourceID)
removes the lock. |
void |
init(java.lang.String dataSourceID)
initializes the internal state for an import of a dataSourceID and establishes a lock to avoid that the same. |
java.util.Iterator<Id> |
obsoleteIdIterator(Id id)
Obsolete id iterator for id fragments. |
java.util.Iterator<Id> |
obsoleteIdIterator(java.lang.String dataSourceID)
Obsolete id iterator. |
void |
rollback(java.lang.String dataSourceID)
rollbacks changes was made inside init() and finish(), it should be called before finishing process. |
void |
unlockDatasources()
Unlock all datasources. |
void |
visit(Id id,
java.lang.String hash)
updates the hash and marks this id as visited. |
| Method Detail |
|---|
void init(java.lang.String dataSourceID)
throws DeltaIndexingException
dataSourceID - dataSourceID
DeltaIndexingException - the delta indexing exception
boolean checkForUpdate(Id id,
java.lang.String hash)
throws DeltaIndexingException
id - the idhash - the hash
DeltaIndexingException - the delta indexing exception
void visit(Id id,
java.lang.String hash)
throws DeltaIndexingException
id - the idhash - the hash
DeltaIndexingException - the delta indexing exception
java.util.Iterator<Id> obsoleteIdIterator(java.lang.String dataSourceID)
throws DeltaIndexingException
dataSourceID - the data source id
DeltaIndexingException - the delta indexing exception
java.util.Iterator<Id> obsoleteIdIterator(Id id)
throws DeltaIndexingException
id - the id
DeltaIndexingException - the delta indexing exception
void clear()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
void clear(java.lang.String dataSourceID)
throws DeltaIndexingException
dataSourceID - the data source id
DeltaIndexingException - the delta indexing exception
void rollback(java.lang.String dataSourceID)
throws DeltaIndexingException
dataSourceID - the data source id
DeltaIndexingException - the delta indexing exception
void delete(Id id)
throws DeltaIndexingException
id - the id
DeltaIndexingException - the delta indexing exception
void finish(java.lang.String dataSourceID)
throws DeltaIndexingException
dataSourceID - the data source id
DeltaIndexingException - the delta indexing exception
void unlockDatasources()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exceptionboolean exists(java.lang.String dataSourceId)
dataSourceId - the data source id
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||