protected Reducer<KOut, VOut> clone(Reducer<KOut, VOut> reducer){
return Util.cloneWithMarshaller(marshaller, reducer);
}
private void ensureAccessPermissions(final AdvancedCache<?, ?> cache) {
AuthorizationManager authorizationManager = SecurityActions.getCacheAuthorizationManager(cache);
if (authorizationManager != null) {
authorizationManager.checkPermission(AuthorizationPermission.EXEC);
}
}