Search in sources :

Example 1 with PutAllOperation

use of com.hazelcast.replicatedmap.impl.operation.PutAllOperation in project hazelcast by hazelcast.

the class ReplicatedMapProxy method createPutAllOperationFuture.

private Future createPutAllOperationFuture(String name, MapEntries entrySet, int partitionId) {
    OperationService operationService = nodeEngine.getOperationService();
    Operation op = new PutAllOperation(name, entrySet);
    return operationService.invokeOnPartition(SERVICE_NAME, op, partitionId);
}
Also used : PutAllOperation(com.hazelcast.replicatedmap.impl.operation.PutAllOperation) OperationService(com.hazelcast.spi.impl.operationservice.OperationService) PutAllOperation(com.hazelcast.replicatedmap.impl.operation.PutAllOperation) RequestMapDataOperation(com.hazelcast.replicatedmap.impl.operation.RequestMapDataOperation) Operation(com.hazelcast.spi.impl.operationservice.Operation) RemoveOperation(com.hazelcast.replicatedmap.impl.operation.RemoveOperation) PutOperation(com.hazelcast.replicatedmap.impl.operation.PutOperation)

Example 2 with PutAllOperation

use of com.hazelcast.replicatedmap.impl.operation.PutAllOperation in project hazelcast by hazelcast.

the class ReplicatedMapProxy method createPutAllOperationFuture.

private Future createPutAllOperationFuture(String name, ReplicatedMapEntries entrySet, int partitionId) {
    OperationService operationService = nodeEngine.getOperationService();
    Operation op = new PutAllOperation(name, entrySet);
    return operationService.invokeOnPartition(SERVICE_NAME, op, partitionId);
}
Also used : PutAllOperation(com.hazelcast.replicatedmap.impl.operation.PutAllOperation) OperationService(com.hazelcast.spi.OperationService) PutAllOperation(com.hazelcast.replicatedmap.impl.operation.PutAllOperation) RequestMapDataOperation(com.hazelcast.replicatedmap.impl.operation.RequestMapDataOperation) Operation(com.hazelcast.spi.Operation) RemoveOperation(com.hazelcast.replicatedmap.impl.operation.RemoveOperation) PutOperation(com.hazelcast.replicatedmap.impl.operation.PutOperation)

Aggregations

PutAllOperation (com.hazelcast.replicatedmap.impl.operation.PutAllOperation)2 PutOperation (com.hazelcast.replicatedmap.impl.operation.PutOperation)2 RemoveOperation (com.hazelcast.replicatedmap.impl.operation.RemoveOperation)2 RequestMapDataOperation (com.hazelcast.replicatedmap.impl.operation.RequestMapDataOperation)2 Operation (com.hazelcast.spi.Operation)1 OperationService (com.hazelcast.spi.OperationService)1 Operation (com.hazelcast.spi.impl.operationservice.Operation)1 OperationService (com.hazelcast.spi.impl.operationservice.OperationService)1