public final class ConcurrentGlobalContainer extends Object
Constructor and Description |
---|
ConcurrentGlobalContainer(TimeService timeService) |
Modifier and Type | Method and Description |
---|---|
void |
add(ExtendedStatistic stat,
double value,
boolean local) |
void |
dumpTo(PrintWriter writer) |
AtomicBoolean |
flushing() |
static int |
getLocalIndex(ExtendedStatistic stat) |
static int |
getRemoteIndex(ExtendedStatistic stat) |
StatisticsSnapshot |
getSnapshot() |
boolean |
isReset() |
void |
merge(double[] toMerge,
boolean local) |
BlockingQueue<?> |
queue() |
void |
reset() |
public ConcurrentGlobalContainer(TimeService timeService)
public final void add(ExtendedStatistic stat, double value, boolean local)
public final void merge(double[] toMerge, boolean local)
public final StatisticsSnapshot getSnapshot()
public final void reset()
public static int getLocalIndex(ExtendedStatistic stat)
public static int getRemoteIndex(ExtendedStatistic stat)
public final BlockingQueue<?> queue()
public final AtomicBoolean flushing()
public final boolean isReset()
public final void dumpTo(PrintWriter writer)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.