@Internal
public interface ClockService
| Modifier and Type | Method and Description |
|---|---|
long |
currentProcessingTime()
Returns the current processing time.
|
static ClockService |
of(org.apache.flink.streaming.api.operators.InternalTimerService<?> timerService)
Creates a
ClockService from the given InternalTimerService. |
static ClockService |
ofSystem()
Creates a
ClockService which assigns as current processing time the result of calling
System.currentTimeMillis(). |
long currentProcessingTime()
static ClockService of(org.apache.flink.streaming.api.operators.InternalTimerService<?> timerService)
ClockService from the given InternalTimerService.static ClockService ofSystem()
ClockService which assigns as current processing time the result of calling
System.currentTimeMillis().Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.