private Map < Key , Object > cacheGetAll ( final Collection < Key > keys ) { try { return this . memcache . getAll ( keys ) ; } catch ( Exception ex ) { // Some sort of serialization error, just wipe out the values log . warn ( "Error fetching values from memcache, deleting keys" , ex ) ; this . memcache . deleteAll ( keys ) ; return new HashMap <> ( ) ; } }
Bulk get on keys getting the raw objects