Apache.NMS.ActiveMQ.Transport.InactivityMonitor.AllowReadCheck C# (CSharp) Method

AllowReadCheck() public method

Checks if we should allow the read check(if less than 90% of the read check time elapsed then we dont do the readcheck
public AllowReadCheck ( System.TimeSpan elapsed ) : bool
elapsed System.TimeSpan
return bool
        public bool AllowReadCheck(TimeSpan elapsed)
        {
            return (elapsed.TotalMilliseconds > (readCheckTime * 9 / 10));
        }