public class DLSPerfStats extends PerformanceStatistics
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOCK_TIME |
protected static String |
LOCKS |
protected static String |
UNLOCK_TIME |
protected static String |
UNLOCKS |
statistics, THREAD_SCOPE, VM_SCOPE| Constructor and Description |
|---|
DLSPerfStats(Class cls,
com.gemstone.gemfire.StatisticsType type,
int scope,
String instanceName,
String trimspecName) |
| Modifier and Type | Method and Description |
|---|---|
void |
endLock(long start) |
void |
endUnlock(long start) |
static DLSPerfStats |
getInstance() |
static DLSPerfStats |
getInstance(String name) |
static DLSPerfStats |
getInstance(String name,
String trimspecName) |
int |
getLocks() |
long |
getLockTime() |
static com.gemstone.gemfire.StatisticDescriptor[] |
getStatisticDescriptors()
Returns the statistic descriptors for
DLSPerfStats |
int |
getUnlocks() |
long |
getUnlockTime() |
void |
incLocks()
increase the count on the locks
|
void |
incLocks(int amount)
increase the count on the locks by the supplied amount
|
void |
incLockTime(long amount)
increase the time on the locks by the supplied amount
|
void |
incUnlocks()
increase the count on the unlocks
|
void |
incUnlocks(int amount)
increase the count on the unlocks by the supplied amount
|
void |
incUnlockTime(long amount)
increase the time on the unlocks by the supplied amount
|
long |
startLock() |
long |
startUnlock() |
close, factory, getInstance, getInstance, getInstance, getName, getStatisticDescriptor, getTrimSpecName, statisticsprotected static final String LOCKS
protected static final String LOCK_TIME
protected static final String UNLOCKS
protected static final String UNLOCK_TIME
public static com.gemstone.gemfire.StatisticDescriptor[] getStatisticDescriptors()
DLSPerfStatspublic static DLSPerfStats getInstance()
public static DLSPerfStats getInstance(String name)
public static DLSPerfStats getInstance(String name, String trimspecName)
public int getLocks()
public long getLockTime()
public int getUnlocks()
public long getUnlockTime()
public void incLocks()
public void incLocks(int amount)
public void incLockTime(long amount)
public long startLock()
public void endLock(long start)
start - the timestamp taken when the locks startedpublic void incUnlocks()
public void incUnlocks(int amount)
public void incUnlockTime(long amount)
public long startUnlock()
public void endUnlock(long start)
start - the timestamp taken when the unlocks startedCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.