void addToCurrentSize(long size,boolean areObjects){
  currentSize.addAndGet(size);
  notifyEvictionIfNeeded();
  if (areObjects) {
    dataAddedInBytes.addAndGet(size);
  }
}

void addToCurrentSize ( long size , boolean areObjects ) { currentSize . addAndGet ( size ) ; notifyEvictionIfNeeded ( ) ; if ( areObjects ) { dataAddedInBytes . addAndGet ( size ) ; } }
adds size value to the current size . < p > this method is thread safe .
