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
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
add
(ExtendedStatistic stat, double value, boolean local) final void
dumpTo
(PrintWriter writer) final AtomicBoolean
flushing()
static int
static int
final StatisticsSnapshot
final boolean
isReset()
final void
merge
(double[] toMerge, boolean local) final BlockingQueue
<?> queue()
final void
reset()
-
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
-