|
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.connectivity.deltaindexing.impl.DataSourceConnection
public class DataSourceConnection
The Class DataSourceConnection.
| Constructor Summary | |
|---|---|
DataSourceConnection(java.lang.String dataSourceId)
Instantiates a new data source connection. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear. |
void |
delete(Id id)
Delete. |
void |
forceUnlockAndClear()
Force unlock and clear. |
void |
forceUnlockAndRollback()
Force unlock and rollback. |
java.lang.String |
getDataSourceId()
Gets the data source id. |
java.lang.String |
getHash(Id id)
Gets the hash. |
void |
lock()
Lock. |
java.util.Iterator<Id> |
obsoleteIdIterator()
Obsolete id iterator. |
void |
put(Id id,
java.lang.String hash)
Put. |
void |
rollback()
Clear. |
void |
unlock()
Unlock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceConnection(java.lang.String dataSourceId)
dataSourceId - the data source id| Method Detail |
|---|
public void lock()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
public void unlock()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
public void put(Id id,
java.lang.String hash)
throws DeltaIndexingException
id - the idhash - the hash
DeltaIndexingException - the delta indexing exception
public java.lang.String getHash(Id id)
throws DeltaIndexingException
id - the id
DeltaIndexingException - the delta indexing exception
public java.util.Iterator<Id> obsoleteIdIterator()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
public void delete(Id id)
throws DeltaIndexingException
id - the id
DeltaIndexingException - the delta indexing exception
public void rollback()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
public void clear()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
public void forceUnlockAndRollback()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exception
public void forceUnlockAndClear()
throws DeltaIndexingException
DeltaIndexingException - the delta indexing exceptionpublic java.lang.String getDataSourceId()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||