you don't need to extract the entire datasegment here. You can create a SegmentDescriptor from Interval, version and chunknumber similar to what is done in CachingClusteredClient and use that to create the cache key.