|
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.impl.ConnectivityManagerImpl
public class ConnectivityManagerImpl
The Class ConnectivityManagerImpl.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.smila.connectivity.ConnectivityManager |
|---|
HASH_TOKEN |
| Constructor Summary | |
|---|---|
ConnectivityManagerImpl()
Default Constructor. |
|
| Method Summary | |
|---|---|
int |
add(Record[] records)
Put the given records for further processing to the ADD Queue. |
boolean[] |
checkForUpdate(Record[] diData)
Checks for each DeltaIndexing data, if it needs to be updated in the system. |
void |
clearDeltaIndexing()
Administrative reset method. |
void |
clearDeltaIndexingByDataSourceId(java.lang.String dataSourceId)
Administrative reset method. |
int |
delete(Id[] ids)
Put the the given ids for Deletion from the system to the DELETE Queue. |
int |
deleteDeltaByCompoundId(Id compoundId)
Initiates a delta delete for the given compound object ID and all it's elements. |
int |
deleteDeltaByDataSourceId(java.lang.String dataSourceId)
Initiates a delta delete for the given dataSourceID. |
void |
finishDeltaIndexingByCompoundId(Id compoundId)
Finishes a DeltaIndexing run for the given compoundId. |
void |
finishDeltaIndexingByDataSourceId(java.lang.String dataSourceId)
Finishes a DeltaIndexing run for the given dataSourceId. |
void |
initDeltaIndexingByCompoundId(Id compoundId)
Initializes a DeltaIndexing run for the given compoundId. |
void |
initDeltaIndexingByDataSourceId(java.lang.String dataSourceId)
Initializes a DeltaIndexing run for the given dataSourceId. |
void |
setDeltaIndexingManager(DeltaIndexingManager diManager)
Sets the DeltaIndexingManager. |
void |
setRouterService(Router router)
Sets the RouterService. |
void |
unsetDeltaIndexingManager(DeltaIndexingManager diManager)
Unsets the DeltaIndexingManager. |
void |
unsetRouterService(Router router)
Unsets the RouterService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectivityManagerImpl()
| Method Detail |
|---|
public void setDeltaIndexingManager(DeltaIndexingManager diManager)
diManager - the DeltaIndexingManager to setpublic void unsetDeltaIndexingManager(DeltaIndexingManager diManager)
diManager - the DeltaIndexingManager to unsetpublic void setRouterService(Router router)
router - the RouterService to setpublic void unsetRouterService(Router router)
router - the RouterService to unset
public int add(Record[] records)
throws ConnectivityException
add in interface ConnectivityManagerrecords - a list of Record objects
ConnectivityException - if any error occursConnectivityManager.add(org.eclipse.smila.datamodel.record.Record[])
public int delete(Id[] ids)
throws ConnectivityException
delete in interface ConnectivityManagerids - a list of IDs to delete
ConnectivityException - if any error occursorg.eclipse.smila.connectivity.ConnectivityManager#delete(org.eclipse.smila.datamodel.id.ID[])
public void initDeltaIndexingByDataSourceId(java.lang.String dataSourceId)
throws ConnectivityException
initDeltaIndexingByDataSourceId in interface ConnectivityManagerdataSourceId - the ID of the data source
ConnectivityException - if any error occursConnectivityManager.initDeltaIndexingByDataSourceId(java.lang.String)
public void initDeltaIndexingByCompoundId(Id compoundId)
throws ConnectivityException
initDeltaIndexingByCompoundId in interface ConnectivityManagercompoundId - the Id of the compound object
ConnectivityException - if any error occurs if any error occursConnectivityManager.initDeltaIndexingByCompoundId(Id)
public void finishDeltaIndexingByDataSourceId(java.lang.String dataSourceId)
throws ConnectivityException
finishDeltaIndexingByDataSourceId in interface ConnectivityManagerdataSourceId - the ID of the data source
ConnectivityException - if any error occursConnectivityManager.finishDeltaIndexingByDataSourceId(java.lang.String)
public void finishDeltaIndexingByCompoundId(Id compoundId)
throws ConnectivityException
finishDeltaIndexingByCompoundId in interface ConnectivityManagercompoundId - the Id of the compound object
ConnectivityException - if any error occurs if any error occursConnectivityManager.finishDeltaIndexingByCompoundId(Id)
public boolean[] checkForUpdate(Record[] diData)
throws ConnectivityException
checkForUpdate in interface ConnectivityManagerdiData - a list of Records containing DeltaIndexing data to check
ConnectivityException - if any error occursConnectivityManager.checkForUpdate(org.eclipse.smila.datamodel.record.Record[])
public int deleteDeltaByDataSourceId(java.lang.String dataSourceId)
throws ConnectivityException
deleteDeltaByDataSourceId in interface ConnectivityManagerdataSourceId - the ID of the data source
ConnectivityException - if any error occursConnectivityManager.deleteDeltaByDataSourceId(java.lang.String)
public int deleteDeltaByCompoundId(Id compoundId)
throws ConnectivityException
deleteDeltaByCompoundId in interface ConnectivityManagercompoundId - the ID of the compound object
ConnectivityException - if any error occursorg.eclipse.smila.connectivity.ConnectivityManager#deleteDeltaByCompoundId(org.eclipse.smila.datamodel.id.ID)
public void clearDeltaIndexing()
throws ConnectivityException
clearDeltaIndexing in interface ConnectivityManagerConnectivityException - if any error occursConnectivityManager.clearDeltaIndexing()
public void clearDeltaIndexingByDataSourceId(java.lang.String dataSourceId)
throws ConnectivityException
clearDeltaIndexingByDataSourceId in interface ConnectivityManagerdataSourceId - the ID of the data source
ConnectivityException - if any error occursConnectivityManager.clearDeltaIndexingByDataSourceId(java.lang.String)
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||