Package com.hazelcast.spi.exception

Examples of com.hazelcast.spi.exception.CallTimeoutException


        }

        public boolean isCallTimedOut() {
            final NodeEngineImpl nodeEngine = (NodeEngineImpl) getNodeEngine();
            if(nodeEngine.operationService.isCallTimedOut(op)) {
                cancel(new CallTimeoutException(op.getClass().getName(), op.getInvocationTime(), op.getCallTimeout()));
                return true;
            }
            return false;
        }
View Full Code Here


        executedOperationsCount.incrementAndGet();

        RemoteCallKey callKey = null;
        try {
            if (isCallTimedOut(op)) {
                Object response = new CallTimeoutException(op.getClass().getName(), op.getInvocationTime(), op.getCallTimeout());
                op.getResponseHandler().sendResponse(response);
                return;
            }
            callKey = beforeCallExecution(op);
            final int partitionId = op.getPartitionId();
View Full Code Here

                return;
            }
        }

        // If we get here we does not seem to have finished the operation
        throw new CallTimeoutException("ReplicatedMap::clear couldn't be finished, failed nodes: " + failedMembers);
    }
View Full Code Here

            return false;
        }

        private boolean timeout(Operation op) {
            if (isCallTimedOut(op)) {
                Object response = new CallTimeoutException(
                        op.getClass().getName(), op.getInvocationTime(), op.getCallTimeout());
                op.getResponseHandler().sendResponse(response);
                return true;
            }
            return false;
View Full Code Here

                return;
            }
        }

        // If we get here we does not seem to have finished the operation
        throw new CallTimeoutException("ReplicatedMap::clear couldn't be finished, failed nodes: " + failedMembers);
    }
View Full Code Here

        }

        public boolean isCallTimedOut() {
            final NodeEngineImpl nodeEngine = (NodeEngineImpl) getNodeEngine();
            if (nodeEngine.operationService.isCallTimedOut(op)) {
                cancel(new CallTimeoutException(op.getClass().getName(), op.getInvocationTime(), op.getCallTimeout()));
                return true;
            }
            return false;
        }
View Full Code Here

            return false;
        }

        private boolean timeout(Operation op) {
            if (isCallTimedOut(op)) {
                Object response = new CallTimeoutException(
                        op.getClass().getName(), op.getInvocationTime(), op.getCallTimeout());
                op.getResponseHandler().sendResponse(response);
                return true;
            }
            return false;
View Full Code Here

TOP

Related Classes of com.hazelcast.spi.exception.CallTimeoutException

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.