Search in sources :

Example 6 with Probe

use of com.hazelcast.simulator.probes.Probe in project hazelcast-simulator by hazelcast.

the class HdrProbeTest method testConstructor_noThroughputProbe.

@Test
public void testConstructor_noThroughputProbe() {
    Probe tmpProbe = new HdrProbe(false);
    assertFalse(tmpProbe.isPartOfTotalThroughput());
}
Also used : Probe(com.hazelcast.simulator.probes.Probe) Test(org.junit.Test)

Example 7 with Probe

use of com.hazelcast.simulator.probes.Probe in project hazelcast-simulator by hazelcast.

the class HdrProbeTest method testConstructor_throughputProbe.

@Test
public void testConstructor_throughputProbe() {
    Probe tmpProbe = new HdrProbe(true);
    assertTrue(tmpProbe.isPartOfTotalThroughput());
}
Also used : Probe(com.hazelcast.simulator.probes.Probe) Test(org.junit.Test)

Aggregations

Probe (com.hazelcast.simulator.probes.Probe)7 HdrProbe (com.hazelcast.simulator.probes.impl.HdrProbe)4 Test (org.junit.Test)2 EmptyProbe (com.hazelcast.simulator.probes.impl.EmptyProbe)1 TeardownFilter (com.hazelcast.simulator.utils.AnnotationFilter.TeardownFilter)1 VerifyFilter (com.hazelcast.simulator.utils.AnnotationFilter.VerifyFilter)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 HashMap (java.util.HashMap)1 Map (java.util.Map)1 Callable (java.util.concurrent.Callable)1 Histogram (org.HdrHistogram.Histogram)1 Recorder (org.HdrHistogram.Recorder)1