hazelcast/src/main/java/com/hazelcast/map/DefaultRecordStore.java
private Set<Data> evictAll0() {
        resetSizeEstimator();
        resetAccessSequenceNumber();

        Set<Data> keysToPreserve = Collections.emptySet();
        final Map<Data, Record> recordsToPreserve = getLockedRecords();
        if (!recordsToPreserve.isEmpty()) {
            keysToPreserve = recordsToPreserve.keySet();
            updateSizeEstimator(calculateRecordSize(recordsToPreserve.values()));
        }
        clearRecordsMap(recordsToPreserve);
        return keysToPreserve;
    }
/**
     * Internal evict all provides common functionality to all {@link #evictAll()}
     *
     * @return preserved keys.
     */
Internal evict all provides common functionality to all  #evictAll()
@return preserved keys.
Internal evict all provides common functionality to all #evictAll () @return preserved keys .
private Set<Data> evictAll0() {
        resetSizeEstimator();
        resetAccessSequenceNumber();
        Set<Data> keysToPreserve = Collections.emptySet();
        final Map<Data, Record> recordsToPreserve = getLockedRecords();
        if (!recordsToPreserve.isEmpty()) {
            keysToPreserve = recordsToPreserve.keySet();
            updateSizeEstimator(calculateRecordSize(recordsToPreserve.values()));
        }
        clearRecordsMap(recordsToPreserve);
        return keysToPreserve;
    }
private Set < Data > evictAll0 ( ) { resetSizeEstimator ( ) ; resetAccessSequenceNumber ( ) ; Set < Data > keysToPreserve = Collections . emptySet ( ) ; final Map < Data , Record > recordsToPreserve = getLockedRecords ( ) ; if ( ! recordsToPreserve . isEmpty ( ) ) { keysToPreserve = recordsToPreserve . keySet ( ) ; updateSizeEstimator ( calculateRecordSize ( recordsToPreserve . values ( ) ) ) ; } clearRecordsMap ( recordsToPreserve ) ; return keysToPreserve ; }
Internal evict all provides common functionality to all {@link #evictAll()}
 @return preserved keys.
Internal evict all provides common functionality to all { @link #evictAll () } @return preserved keys .