@ SuppressWarnings ( "unchecked" ) @ Override public Map < K , V > getAllFailure ( Iterable < ? extends K > keys , StoreAccessException e ) { try { return loaderWriter . loadAll ( ( Iterable ) keys ) ; // FIXME: bad typing that we should fix } catch ( BulkCacheLoadingException e1 ) { throw e1 ; } catch ( Exception e1 ) { throw ExceptionFactory . newCacheLoadingException ( e1 , e ) ; } finally { cleanup ( keys , e ) ; } }
Get all entries for the provided keys . Entries not found by the loader - writer are expected to be an entry with the key and a null value .