Class ConcurrentGlobalContainer
java.lang.Object
org.infinispan.extendedstats.container.ConcurrentGlobalContainer
Thread safe cache statistics that allows multiple writers and reader at the same time.
- Since:
- 5.2
- Author:
- Pedro Ruivo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidadd(ExtendedStatistic stat, double value, boolean local) final voiddumpTo(PrintWriter writer) final AtomicBooleanflushing()static intstatic intfinal StatisticsSnapshotfinal booleanisReset()final voidmerge(double[] toMerge, boolean local) final BlockingQueue<?>queue()final voidreset()
-
Constructor Details
-
ConcurrentGlobalContainer
-
-
Method Details
-
add
-
merge
public final void merge(double[] toMerge, boolean local) -
getSnapshot
-
reset
public final void reset() -
getLocalIndex
-
getRemoteIndex
-
queue
- Returns:
- TEST ONLY!!
-
flushing
- Returns:
- TEST ONLY!!
-
isReset
public final boolean isReset()- Returns:
- TEST ONLY!!
-
dumpTo
-