org.graphstream.stream.sync
Class SinkTime
java.lang.Object
org.graphstream.stream.sync.SinkTime
public class SinkTime
- extends Object
Method Summary |
boolean |
isNewEvent(String sourceId,
long timeId)
Allow to know if event is new for this source. |
SYNC_DISABLE_KEY
public static final String SYNC_DISABLE_KEY
- Key used to disable synchro. Just run : java -DSYNC_DISABLE_KEY ...
- See Also:
- Constant Field Values
SinkTime
public SinkTime()
isNewEvent
public boolean isNewEvent(String sourceId,
long timeId)
- Allow to know if event is new for this source. This updates the timeId
mapped to the source.
- Parameters:
sourceId
- timeId
-
- Returns:
- true if event is new for the source
Copyright © 2013. All Rights Reserved.