Class SinkTime

java.lang.Object
org.graphstream.stream.sync.SinkTime

public class SinkTime
extends Object
  • Field Details

    • 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
  • Constructor Details

    • SinkTime

      public SinkTime()
  • Method Details

    • 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