Package com.hazelcast.mapreduce.impl.operation

Examples of com.hazelcast.mapreduce.impl.operation.ProcessingOperation


        NodeJobTracker jobTracker = (NodeJobTracker) createDistributedObject(name);
        if (jobTracker.registerJobSupervisorCancellation(jobId) && getLocalAddress().equals(jobOwner)) {
            for (MemberImpl member : clusterService.getMemberList()) {
                if (!member.getAddress().equals(jobOwner)) {
                    try {
                        ProcessingOperation operation = new CancelJobSupervisorOperation(name, jobId);
                        processRequest(member.getAddress(), operation, name);
                    } catch (Exception ignore) {
                        LOGGER.finest("Member might be already unavailable", ignore);
                    }
                }
View Full Code Here


    }

    public void sendNotification(Address address, MapReduceNotification notification) {
        try {
            String name = MapReduceUtil.buildExecutorName(notification.getName());
            ProcessingOperation operation = new FireNotificationOperation(notification);
            processRequest(address, operation, name);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.mapreduce.impl.operation.ProcessingOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.