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(Class cls,
com.gemstone.gemfire.StatisticsType type,
int scope,
String instanceName,
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(String name)
Creates an instance with thread scope using the specified display name.
|
static HistogramStats |
getInstance(String name,
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 static com.gemstone.gemfire.StatisticDescriptor[] getStatisticDescriptors()
HistogramStatspublic static HistogramStats getInstance()
public static HistogramStats getInstance(int scope)
public static HistogramStats getInstance(String name)
public static HistogramStats getInstance(String name, String trimspecName)
public void incBin(long t)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.