@Internal public class ProcessingTimeServiceUtil extends Object
ProcessingTimeService
interface.Constructor and Description |
---|
ProcessingTimeServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
getProcessingTimeDelay(long processingTimestamp,
long currentTimestamp)
Returns the remaining delay of the processing time specified by
processingTimestamp . |
public static long getProcessingTimeDelay(long processingTimestamp, long currentTimestamp)
processingTimestamp
.processingTimestamp
- the processing time in millisecondscurrentTimestamp
- the current processing timestamp; it usually uses ProcessingTimeService.getCurrentProcessingTime()
to getCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.