public class SampleThreadStatistics extends PerformanceStatistics
| Modifier and Type | Field and Description |
|---|---|
protected static String |
OP_TIME |
protected static String |
OPS |
statistics, THREAD_SCOPE, VM_SCOPE| Constructor and Description |
|---|
SampleThreadStatistics(Class cls,
com.gemstone.gemfire.StatisticsType type,
int scope,
String instanceName,
String trimspecName) |
| Modifier and Type | Method and Description |
|---|---|
void |
endOperation() |
static SampleThreadStatistics |
getInstance() |
static SampleThreadStatistics |
getInstance(String name) |
static SampleThreadStatistics |
getInstance(String name,
String trimspecName) |
static com.gemstone.gemfire.StatisticDescriptor[] |
getStatisticDescriptors() |
void |
incOps(long amount) |
void |
incOpTime(long amount) |
long |
readOps() |
void |
startOperation() |
close, factory, getInstance, getInstance, getInstance, getName, getStatisticDescriptor, getTrimSpecName, statisticsprotected static final String OPS
protected static final String OP_TIME
public static com.gemstone.gemfire.StatisticDescriptor[] getStatisticDescriptors()
public static SampleThreadStatistics getInstance()
public static SampleThreadStatistics getInstance(String name)
public static SampleThreadStatistics getInstance(String name, String trimspecName)
public long readOps()
public void incOps(long amount)
public void incOpTime(long amount)
public void startOperation()
public void endOperation()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.