Package org.apache.sirona.store.counter

Examples of org.apache.sirona.store.counter.BatchCounterDataStore.shutdown()


            }
        };

        Repository.INSTANCE.getCounter(new Counter.Key(Role.PERFORMANCES, "counter")).add(123);
        Thread.sleep(250);
        store.shutdown();

        assertTrue(size.size() >= 2);
        assertEquals(1, size.iterator().next().intValue());
        assertEquals(0, size.get(1).intValue());
    }
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.