@Override
    public long size() {
        try {
            if (emulateIsAbsent)
                lock.readLock().lock();

            return compressedEntries.size();
        } finally {
            if (emulateIsAbsent)
                lock.readLock().unlock();
        }
    }
@ Override public long size ( ) { try { if ( emulateIsAbsent ) lock . readLock ( ) . lock ( ) ; return compressedEntries . size ( ) ; } finally { if ( emulateIsAbsent ) lock . readLock ( ) . unlock ( ) ; } }
This method returns number of entries available in storage