public long onIdle(final long timeNs, final long senderLimit, final long senderPosition, final boolean isEos)
    {
        if (isEos && shouldLinger)
        {
            if (lastPosition >= senderPosition || ((timeOfLastStatusMessage + RECEIVER_TIMEOUT_NS) - timeNs < 0))
            {
                shouldLinger = false;
            }
        }

        return senderLimit;
    }
public long onIdle(final long timeNs, final long senderLimit, final long senderPosition, final boolean isEos)
    {
        if (isEos && shouldLinger)
        {
            if (lastPosition >= senderPosition || ((timeOfLastStatusMessage + RECEIVER_TIMEOUT_NS) - timeNs < 0))
            {
                shouldLinger = false;
            }
        }

        return senderLimit;
    }
public long onIdle ( final long timeNs , final long senderLimit , final long senderPosition , final boolean isEos ) { if ( isEos && shouldLinger ) { if ( lastPosition >= senderPosition || ( ( timeOfLastStatusMessage + RECEIVER_TIMEOUT_NS ) - timeNs < 0 ) ) { shouldLinger = false ; } } return senderLimit ; }
{@inheritDoc}
{