segmentstore/server/src/main/java/io/pravega/segmentstore/server/tables/SegmentKeyCache.java
/**
         * Commits this {@link MigrationCandidate} into the base {@link CacheEntry}.
         *
         * @param cacheGeneration The current Cache Generation.
         * @return True if the commit was a success; false otherwise (if the cache entry has been evicted in the meantime).
         */
Commits this  MigrationCandidate into the base  CacheEntry.
@param cacheGeneration The current Cache Generation.
@return True if the commit was a success; false otherwise (if the cache entry has been evicted in the meantime).
Commits this MigrationCandidate into the base CacheEntry . @param cacheGeneration The current Cache Generation . @return True if the commit was a success ; false otherwise ( if the cache entry has been evicted in the meantime ) .
boolean commit(int cacheGeneration) {
            try {
                return this.cacheEntry.update(this.keyHash, this.offset.encode(), cacheGeneration);
            } catch (CacheEntryEvictedException ex) {
                return false;
            }
        }
boolean commit ( int cacheGeneration ) { try { return this . cacheEntry . update ( this . keyHash , this . offset . encode ( ) , cacheGeneration ) ; } catch ( CacheEntryEvictedException ex ) { return false ; } }
Commits this {@link MigrationCandidate} into the base {@link CacheEntry}.
Commits this { @link MigrationCandidate } into the base { @link CacheEntry } .
// Nothing to do here. A concurrent eviction has removed this entry so there isn't much more we can do.