hazelcast/src/main/java/com/hazelcast/map/DefaultRecordStore.java
private Record evictIfNotReachable(Record record) {
        if (record == null) {
            return null;
        }
        if (isLocked(record.getKey())) {
            return record;
        }
        if (isReachable(record)) {
            return record;
        }
        final Data key = record.getKey();
        final Object value = record.getValue();
        evict(key);
        doPostEvictionOperations(key, value);
        return null;
    }
/**
     * Check if record is reachable according to ttl or idle times.
     * If not reachable return null.
     *
     * @param record {@link com.hazelcast.map.record.Record}
     * @return null if evictable.
     */
Check if record is reachable according to ttl or idle times.
If not reachable return null.

@param record  com.hazelcast.map.record.Record
@return null if evictable.
Check if record is reachable according to ttl or idle times . If not reachable return null . @param record com . hazelcast . map . record . Record @return null if evictable .
private Record evictIfNotReachable(Record record) {
        if (record == null) {
            return null;
        }
        if (isLocked(record.getKey())) {
            return record;
        }
        if (isReachable(record)) {
            return record;
        }
        final Data key = record.getKey();
        final Object value = record.getValue();
        evict(key);
        doPostEvictionOperations(key, value);
        return null;
    }
private Record evictIfNotReachable ( Record record ) { if ( record == null ) { return null ; } if ( isLocked ( record . getKey ( ) ) ) { return record ; } if ( isReachable ( record ) ) { return record ; } final Data key = record . getKey ( ) ; final Object value = record . getValue ( ) ; evict ( key ) ; doPostEvictionOperations ( key , value ) ; return null ; }
Check if record is reachable according to ttl or idle times.
Check if record is reachable according to ttl or idle times .