private void afterWrite ( Runnable task ) { stateBuffer . add ( task ) ; drainStatus . lazySet ( DrainStatus . REQUIRED ) ; tryToDrainBuffers ( ) ; }
Method is used to log operations which change content of the container . Such changes should be flushed immediately to update content of LRU list .