public < T > CompletableFuture < VersionedMetadata < T > > getCachedData ( String table , String key , Function < byte [ ] , T > fromBytes ) { return cache . getCachedData ( new TableCacheKey <> ( table , key , fromBytes ) ) . thenApply ( this :: getVersionedMetadata ) ; }
Api to read cached value for the specified key from the requested table .