Class ConcurrentGlobalContainer


  • public final class ConcurrentGlobalContainer
    extends Object
    Thread safe cache statistics that allows multiple writers and reader at the same time.
    Since:
    5.2
    Author:
    Pedro Ruivo
    • Constructor Detail

      • ConcurrentGlobalContainer

        public ConcurrentGlobalContainer​(org.infinispan.commons.time.TimeService timeService)
    • Method Detail

      • add

        public final void add​(ExtendedStatistic stat,
                              double value,
                              boolean local)
      • merge

        public final void merge​(double[] toMerge,
                                boolean local)
      • reset

        public final void reset()
      • queue

        public final BlockingQueue<?> queue()
        Returns:
        TEST ONLY!!
      • flushing

        public final AtomicBoolean flushing()
        Returns:
        TEST ONLY!!
      • isReset

        public final boolean isReset()
        Returns:
        TEST ONLY!!
      • dumpTo

        public final void dumpTo​(PrintWriter writer)