Examples of finer()


Examples of com.rackspacecloud.blueflood.rollup.Granularity.finer()

        final int parentSlot = Granularity.slotFromKey(parentSlotKey);
        final int shard = Granularity.shardFromKey(parentSlotKey);
        final Range parentRange = gran.deriveRange(parentSlot, serverTime);

        try {
            gran.finer();
        } catch (Exception ex) {
            log.error("No finer granularity available than " + gran);
            return;
        }
View Full Code Here

Examples of java.util.logging.Logger.finer()

    @Test
    public void testLogLevelInAppLogLineMatchesActualLogLevelUsedWhenLogging() {
        Logger log = Logger.getLogger(LogLevelTest.class.getName());
        log.finest("finest_testLogLevelMatches");
        log.finer("finer_testLogLevelMatches");
        log.fine("fine_testLogLevelMatches");
        log.config("config_testLogLevelMatches");
        log.info("info_testLogLevelMatches");
        log.warning("warning_testLogLevelMatches");
        log.severe("severe_testLogLevelMatches");
View Full Code Here

Examples of java.util.logging.Logger.finer()

            logger.severe ("Don't worry, just a test");
            logger.warning("This is an imaginary warning");
            logger.info   ("This is a pseudo-information message");
            logger.config ("Not really configuring anything...");
            logger.fine   ("This is a detailed (but useless) message\nWe log this one on two lines!");
            logger.finer  ("This is a debug message");
        }
    }
}
View Full Code Here

Examples of java.util.logging.Logger.finer()

            log4j.setLevel(org.apache.log4j.Level.OFF);
            assertEquals(Level.OFF, logger.getLevel());

            logger.finest ("Message to Commons-logging at FINEST level.");
            logger.finer  ("Message to Commons-logging at FINER level.");
            logger.fine   ("Message to Commons-logging at FINE level.");
            logger.config ("Message to Commons-logging at CONFIG level.");
            logger.info   ("Message to Commons-logging at INFO level.");
            logger.warning("Message to Commons-logging at WARNING level.");
            logger.severe ("Message to Commons-logging at SEVERE level.");
View Full Code Here

Examples of java.util.logging.Logger.finer()

             * Maven 2.0.6 executes the tests using Log4J 1.2.6 even if we declared and
             * compiled successfully the module with Log4J 1.2.12. Because the TRACE level
             * was not yet available in Log4J 1.2.6, attempts to test this level result in
             * a NoSuchMethodError: org.apache.log4j.Logger.trace(Ljava/lang/Object;)V
             */
            logger.finer  ("Message to Log4J at FINER level.");
            logger.fine   ("Message to Log4J at FINE level.");
            logger.config ("Message to Log4J at CONFIG level.");
            logger.info   ("Message to Log4J at INFO level.");
            logger.warning("Message to Log4J at WARNING level.");
            logger.severe ("Message to Log4J at SEVERE level.");
View Full Code Here

Examples of java.util.logging.Logger.finer()

            Logger logger = DOLUtils.getDefaultLogger();
            if (parentDesc instanceof EjbReferenceContainer) {
                try {
                    descriptor = ((EjbReferenceContainer)parentDesc).getEjbReference(value);
                    if (logger.isLoggable(Level.FINER)) {
                        logger.finer("Applying ref runtime to " + descriptor);
                    }
                } catch (IllegalArgumentException iae) {
                    logger.warning(iae.getMessage());
                }
            }
View Full Code Here

Examples of java.util.logging.Logger.finer()

                        (nTx * precision);
            }

            if (logger.isLoggable(Level.FINER)) {
                double p2 = precision * precision;
                logger.finer("sumSquaresStdy[" + i + "] = " +
                        sumSquaresStdy[i] / p2 + ", txCntStdy[" + i + "] = " +
                        txCntStdy[i] + ", respSumStdy[" + i + "] = " +
                        respSumStdy[i] / precision);
                logger.finer("sumSquaresTotal[" + i + "] = " +
                        sumSquaresTotal[i] / p2 + ", txCntTotal[" + i + "] = " +
View Full Code Here

Examples of java.util.logging.Logger.finer()

                double p2 = precision * precision;
                logger.finer("sumSquaresStdy[" + i + "] = " +
                        sumSquaresStdy[i] / p2 + ", txCntStdy[" + i + "] = " +
                        txCntStdy[i] + ", respSumStdy[" + i + "] = " +
                        respSumStdy[i] / precision);
                logger.finer("sumSquaresTotal[" + i + "] = " +
                        sumSquaresTotal[i] / p2 + ", txCntTotal[" + i + "] = " +
                        txCntTotal[i] + ", respSumTotal[" + i + "] = " +
                        respSumTotal[i] / precision);
            }

View Full Code Here

Examples of java.util.logging.Logger.finer()

        } else if (s < s1) { // Shrinking s, unusual but can happen.
            // Remember, we steal the data without syncing from the owning
            // thread. So it is not always accurate. In this case we assume
            // very little or no addition to s and therefore s2 can safely be 0.
            // Remember this data is only an approximation anyway.
            logger.finer("subtractSumSquare(" + s + ", " + n + ", " + t +
                    ", " + s1 + ", " + n1 + ", " + t1 + ") s < s1");
            s2 = 0d;
        } else {
            double t2 = t - t1;
            s2 = (n2 / (double) n1) * t1 - t2;
View Full Code Here

Examples of java.util.logging.Logger.finer()

            } else if (s2 < 0d) { // This does happen. Again, the data we have
                // may not be accurate. The diff between s and s1 are too small.
                // When applying the adjustment factor the result turns out
                // negative. In this case we can savely assume s2 is very small
                // and set it to 0.
                logger.finer("subtractSumSquare(" + s + ", " + n + ", " + t +
                        ", " + s1 + ", " + n1 + ", " + t1 +
                        ") returns negative");
                s2 = 0d;
            }
        }
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.