CacheBucketOffset get ( long segmentId , UUID keyHash ) { SegmentKeyCache cache ; int generation ; synchronized ( this . segmentCaches ) { generation = this . currentCacheGeneration ; cache = this . segmentCaches . get ( segmentId ) ; } return cache == null ? null : cache . get ( keyHash , generation ) ; }
Looks up a cached offset for the given Segment and Key Hash .