@Internal public class ProcessingTimeServiceUtil extends Object
ProcessingTimeService
interface.构造器和说明 |
---|
ProcessingTimeServiceUtil() |
限定符和类型 | 方法和说明 |
---|---|
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–2020 The Apache Software Foundation. All rights reserved.