static long limitExpiryToMaxLinger ( long now , long _maxLinger , long _requestedExpiryTime , boolean _sharpExpiryEnabled ) { if ( _sharpExpiryEnabled && _requestedExpiryTime > ExpiryPolicy . REFRESH && _requestedExpiryTime < ExpiryPolicy . ETERNAL ) { _requestedExpiryTime = - _requestedExpiryTime ; } return Expiry . mixTimeSpanAndPointInTime ( now , _maxLinger , _requestedExpiryTime ) ; }
Ignore the value of the expiry policy if later then the maximum expiry time . If max linger takes over we do not request sharp expiry .