Package org.elasticsearch.common

Examples of org.elasticsearch.common.StopWatch.lastTaskTime()


    }

    @Test public void testFailureToStartBeforeGettingTimings() {
        StopWatch sw = new StopWatch();
        try {
            sw.lastTaskTime();
            assertThat("Can't get last interval if no tests run", false, equalTo(true));
        } catch (IllegalStateException ex) {
            // Ok
        }
    }
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.