Modifier and Type | Field and Description |
---|---|
protected static boolean |
disableSync
Flag used to disable sync.
|
static String |
SYNC_DISABLE_KEY
Key used to disable synchro.
|
protected HashMap<String,Long> |
times
Map storing times of sources.
|
Constructor and Description |
---|
SinkTime() |
Modifier and Type | Method and Description |
---|---|
boolean |
isNewEvent(String sourceId,
long timeId)
Allow to know if event is new for this source.
|
protected boolean |
setTimeFor(String sourceId,
long timeId)
Update timeId for a source.
|
public static final String SYNC_DISABLE_KEY
protected static final boolean disableSync
public SinkTime()
protected boolean setTimeFor(String sourceId, long timeId)
sourceId
- timeId
- public boolean isNewEvent(String sourceId, long timeId)
sourceId
- timeId
- WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses