public long SetMax(long newPossibleMaxValue)
 {
     return(InterlockedExtensions.TryOptomisticMax(ref _sampleValue, newPossibleMaxValue));
 }