use of com.hazelcast.map.impl.operation.AddInterceptorOperationSupplier in project hazelcast by hazelcast.
the class MapProxySupport method addMapInterceptorInternal.
public String addMapInterceptorInternal(MapInterceptor interceptor) {
String id = mapServiceContext.generateInterceptorId(name, interceptor);
syncInvokeOnAllMembers(new AddInterceptorOperationSupplier(name, id, interceptor));
return id;
}
use of com.hazelcast.map.impl.operation.AddInterceptorOperationSupplier in project hazelcast by hazelcast.
the class MapAddInterceptorMessageTask method createOperationSupplier.
@Override
protected Supplier<Operation> createOperationSupplier() {
final MapService mapService = getService(MapService.SERVICE_NAME);
final MapServiceContext mapServiceContext = mapService.getMapServiceContext();
final MapInterceptor mapInterceptor = serializationService.toObject(parameters.interceptor);
id = mapServiceContext.generateInterceptorId(parameters.name, mapInterceptor);
return new AddInterceptorOperationSupplier(parameters.name, id, mapInterceptor);
}
Aggregations