public class HistogramStats extends PerformanceStatistics
HistogramStatsPrms.enable to enable the histogram and HistogramStats#binValues to configure the bins.statistics, THREAD_SCOPE, VM_SCOPE| Constructor and Description |
|---|
HistogramStats(java.lang.Class cls,
com.gemstone.gemfire.StatisticsType type,
int scope,
java.lang.String instanceName,
java.lang.String trimspecName) |
| Modifier and Type | Method and Description |
|---|---|
static HistogramStats |
getInstance()
Creates an instance with thread scope using the thread name as
the display name.
|
static HistogramStats |
getInstance(int scope)
Creates an instance with the specified scope using the thread name as
the display name.
|
static HistogramStats |
getInstance(java.lang.String name)
Creates an instance with thread scope using the specified display name.
|
static HistogramStats |
getInstance(java.lang.String name,
java.lang.String trimspecName)
Creates an instance with thread scope using the specified display name
and associated with the specified trim specification.
|
static com.gemstone.gemfire.StatisticDescriptor[] |
getStatisticDescriptors()
Returns the statistic descriptors for
HistogramStats |
void |
incBin(long t)
For a given time t, increment the appropriate time bin by a count of 1.
|
close, factory, getInstance, getInstance, getInstance, getName, getStatisticDescriptor, getTrimSpecName, statisticspublic HistogramStats(java.lang.Class cls,
com.gemstone.gemfire.StatisticsType type,
int scope,
java.lang.String instanceName,
java.lang.String trimspecName)
public static com.gemstone.gemfire.StatisticDescriptor[] getStatisticDescriptors()
HistogramStatspublic static HistogramStats getInstance()
public static HistogramStats getInstance(int scope)
public static HistogramStats getInstance(java.lang.String name)
public static HistogramStats getInstance(java.lang.String name, java.lang.String trimspecName)
public void incBin(long t)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.