Click or drag to resize

EPEventServiceTimeControlAdvanceTime Method

Advance time by jumping to the given time in milliseconds (or nanoseconds if so configured).

For externally controlling the time within a runtime.

External clocking must be first be enabled by configuration {@link com.espertech.esper.common.client.configuration.Runtime.ConfigurationRuntimeThreading.IsInternalTimerEnabled} passing false or by calling {@link #clockExternal()}.

Time should never move backwards (unless for testing purposes where previous results can be thrown away)

Namespace:  com.espertech.esper.runtime.client
Assembly:  NEsper.Runtime (in NEsper.Runtime.dll) Version: 8.0.0.0
Syntax
C#
void AdvanceTime(
	long time
)

Parameters

time
Type: SystemInt64
time
See Also