Package com.hazelcast.logging

Examples of com.hazelcast.logging.ILogger.finest()


        if (version == lockVersion) {
            forceUnlock();
        } else {
            ILogger logger = getLogger();
            if (logger.isFinestEnabled()) {
                logger.finest("Won't unlock since lock version is not matching expiration version: "
                        + lockVersion + " vs " + version);
            }
        }
    }
View Full Code Here


        final Address caller = getCallerAddress();
        if (caller != null
                && (caller.equals(deadAddress) || caller.equals(clusterService.getMasterAddress()))) {
            ILogger logger = getLogger();
            if (logger.isFinestEnabled()) {
                logger.finest("Removing " + deadAddress + ", called from " + caller);
            }
            clusterService.removeAddress(deadAddress);
        }
    }
View Full Code Here

        @Override
        public void handleException(Throwable throwable) {
            if (throwable instanceof ExecutionException) {
                ILogger logger = getLogger();
                if (logger.isFinestEnabled()) {
                    logger.finest("Error while executing post-join operations -> "
                            + throwable.getClass().getSimpleName() + "[" + throwable.getMessage() + "]", throwable);
                }
            }
        }
    }
View Full Code Here

        } else {
            approvedAsMaster = false;
            logger.warning("This node requires MulticastJoin strategy!");
        }
        if (logger.isFinestEnabled()) {
            logger.finest("Sending '" + approvedAsMaster + "' for master claim of node: " + getCallerAddress());
        }
    }

    @Override
    public boolean returnsResponse() {
View Full Code Here

                                    ILogger logger = nodeEngine.getLogger(op.getClass());
                                    logger.warning("Error while running post-join operation: "
                                            + t.getClass().getSimpleName() + ": " + t.getMessage());

                                    if (logger.isFinestEnabled()) {
                                        logger.finest(t);
                                    }
                                }
                            }

                            @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.