protected <KIn> Set<KIn> loadAllKeysFromCacheLoaderUsingFilter(Set<KIn> filterOutSet) {
Set<KIn> keysInCL = InfinispanCollections.<KIn>emptySet();
CacheLoader cl = resolveCacheLoader();
if (cl != null) {
try {
keysInCL = (Set<KIn>) cl.loadAllKeys((Set<Object>) filterOutSet);
} catch (CacheLoaderException e) {
throw new CacheException("Could not load key/value entries from cacheloader", e);
}
}
return keysInCL;