private bool TimeToFlushDeletes() { lock (this) { return (bufferIsFull || DeletesFull()) && SetFlushPending(); } }