Package com.proofpoint.stats.BucketedCounter

Examples of com.proofpoint.stats.BucketedCounter.Counter


    private void assertPreviousCount(BucketedCounter counter, double expected)
            throws Exception
    {
        Method method = Bucketed.class.getDeclaredMethod("getPreviousBucket");
        method.setAccessible(true);
        Counter previousBucket = (Counter) method.invoke(counter);
        assertEquals(previousBucket.getCount(), expected);
    }
View Full Code Here


    }

    @Override
    protected Counter createBucket()
    {
        return new Counter();
    }
View Full Code Here

TOP

Related Classes of com.proofpoint.stats.BucketedCounter.Counter

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.