Package org.graphstream.stream.sync
Class SinkTime
java.lang.Object
org.graphstream.stream.sync.SinkTime
public class SinkTime extends Object
-
Field Summary
Fields Modifier and Type Field Description static StringSYNC_DISABLE_KEYKey used to disable synchro. -
Constructor Summary
Constructors Constructor Description SinkTime() -
Method Summary
Modifier and Type Method Description booleanisNewEvent(String sourceId, long timeId)Allow to know if event is new for this source.
-
Field Details
-
SYNC_DISABLE_KEY
Key used to disable synchro. Just run : java -DSYNC_DISABLE_KEY ...- See Also:
- Constant Field Values
-
-
Constructor Details
-
SinkTime
public SinkTime()
-
-
Method Details
-
isNewEvent
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
-