|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.importing.state.objectstore.ObjectStoreStateService
public class ObjectStoreStateService
ObjectStore based implementation of a state service used in the jobmanager based importing framework.
| Field Summary | |
|---|---|
protected static java.lang.String |
KEY
key for the entry. |
protected static java.lang.String |
KEY_DESCRIPTOR
key for the descriptor entry in the data object. |
protected static java.lang.String |
KEY_JOBRUNID
key for the job run ID entry in the data object. |
protected static java.lang.String |
KEY_OBJECTID
key for the objectId entry in the data object. |
protected static java.lang.String |
KEY_SOURCEID
key for the sourceId entry in the data object. |
protected static java.lang.String |
ROOT_ENTRIES
root directory in ObjectStore for delta entries. |
| Constructor Summary | |
|---|---|
ObjectStoreStateService(java.lang.String storeName,
StateStoreConfiguration configuration,
ObjectStoreService objectStore)
|
|
| Method Summary | |
|---|---|
void |
clearAll()
|
void |
clearSource(java.lang.String sourceId)
|
long |
countEntries(java.lang.String sourceId,
boolean countExact)
count the entries of the given source. |
AnyMap |
getEntry(java.lang.String sourceId,
java.lang.String objectId)
|
java.util.Collection<java.lang.String> |
getSourceIds()
|
void |
mark(java.lang.String sourceId,
java.lang.String objectId,
java.lang.String jobRunId,
java.lang.String descriptor)
|
protected void |
writeEntry(AnyMap value)
update the entry in the objectstore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String KEY
protected static final java.lang.String KEY_OBJECTID
protected static final java.lang.String KEY_SOURCEID
protected static final java.lang.String KEY_DESCRIPTOR
protected static final java.lang.String KEY_JOBRUNID
protected static final java.lang.String ROOT_ENTRIES
| Constructor Detail |
|---|
public ObjectStoreStateService(java.lang.String storeName,
StateStoreConfiguration configuration,
ObjectStoreService objectStore)
| Method Detail |
|---|
public AnyMap getEntry(java.lang.String sourceId,
java.lang.String objectId)
throws StateException
StateException
public void mark(java.lang.String sourceId,
java.lang.String objectId,
java.lang.String jobRunId,
java.lang.String descriptor)
throws StateException
StateException
public void clearSource(java.lang.String sourceId)
throws StateException
StateException
public void clearAll()
throws StateException
StateException
public java.util.Collection<java.lang.String> getSourceIds()
throws StateException
StateException
public long countEntries(java.lang.String sourceId,
boolean countExact)
throws StateException
StateException
protected void writeEntry(AnyMap value)
throws StateException
StateException
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||