getHoldInterval

public final static Long getHoldInterval(Long interval)

Checks if the value of interval is not less than zero.

Return

HOLD_INTERVAL if interval is less than zero; otherwise, the interval value.

Parameters

interval

A interval value in ms.