use of com.hazelcast.client.impl.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(id, parameters.name, mapInterceptor);
}
Aggregations