use of com.hazelcast.client.impl.operations.OperationFactoryWrapper in project hazelcast by hazelcast.
the class AbstractMultiPartitionMessageTask method call.
@Override
protected Object call() throws Exception {
ClientEndpoint endpoint = getEndpoint();
OperationFactory operationFactory = new OperationFactoryWrapper(createOperationFactory(), endpoint.getUuid());
final InternalOperationService operationService = nodeEngine.getOperationService();
Map<Integer, Object> map = operationService.invokeOnPartitions(getServiceName(), operationFactory, getPartitions());
return reduce(map);
}
use of com.hazelcast.client.impl.operations.OperationFactoryWrapper in project hazelcast by hazelcast.
the class AbstractAllPartitionsMessageTask method processMessage.
@Override
protected void processMessage() throws Exception {
ClientEndpoint endpoint = getEndpoint();
OperationFactory operationFactory = new OperationFactoryWrapper(createOperationFactory(), endpoint.getUuid());
final InternalOperationService operationService = nodeEngine.getOperationService();
Map<Integer, Object> map = operationService.invokeOnAllPartitions(getServiceName(), operationFactory);
sendResponse(reduce(map));
}
Aggregations