
public class OProfilerStub extends OAbstractProfiler
OAbstractProfiler.OProfilerHookRuntime, OAbstractProfiler.OProfilerHookStatic, OAbstractProfiler.OProfilerHookValueOProfiler.METRIC_TYPE| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<String,Long> |
counters |
autoDumpTask, dictionary, hooks, listeners, recordingFrom, typeslock| Constructor and Description |
|---|
OProfilerStub() |
OProfilerStub(boolean registerListener) |
OProfilerStub(OAbstractProfiler profiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(String iConfiguration) |
String |
dump() |
String |
dumpChronos() |
String |
dumpCounters() |
OProfilerEntry |
getChrono(String string) |
List<String> |
getChronos() |
long |
getCounter(String statName) |
String[] |
getCountersAsString() |
Object |
getHookValue(String iName) |
Date |
getLastReset() |
String |
getStatsAsJson() |
protected AtomicInteger |
getTip(String iMessage) |
boolean |
isEnterpriseEdition() |
String |
metadataToJSON() |
void |
resetRealtime(String iText) |
protected void |
setTip(String iMessage,
AtomicInteger counter) |
void |
shutdown() |
long |
startChrono() |
boolean |
startRecording() |
void |
startup() |
long |
stopChrono(String iName,
String iDescription,
long iStartTime) |
long |
stopChrono(String iName,
String iDescription,
long iStartTime,
String iDictionary) |
long |
stopChrono(String iName,
String iDescription,
long iStartTime,
String iDictionary,
String payload) |
long |
stopChrono(String iName,
String iDescription,
long iStartTime,
String iDictionary,
String payload,
String user) |
boolean |
stopRecording() |
String |
toJSON(String command,
String iPar1) |
void |
updateCounter(String statName,
String description,
long plus,
String metadata) |
protected void |
updateMetadata(String iName,
String iDescription,
OProfiler.METRIC_TYPE iType)
Updates the metric metadata.
|
dump, dump, dumpEnvironment, getChronosAsString, getDatabaseMetric, getHookAsString, getMetadata, getName, getProcessMetric, getSystemMetric, getType, installMemoryChecker, isRecording, onStartup, registerHookValue, registerHookValue, registerListener, reportTip, setAutoDump, threadDump, unregisterHookValue, unregisterListener, updateCounteracquireExclusiveLock, acquireSharedLock, releaseExclusiveLock, releaseSharedLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextprotected ConcurrentMap<String,Long> counters
public OProfilerStub()
public OProfilerStub(boolean registerListener)
public OProfilerStub(OAbstractProfiler profiler)
public void startup()
startup in interface OServicestartup in class OAbstractProfilerpublic void shutdown()
shutdown in interface OServiceshutdown in class OAbstractProfilerprotected void setTip(String iMessage, AtomicInteger counter)
setTip in class OAbstractProfilerprotected AtomicInteger getTip(String iMessage)
getTip in class OAbstractProfilerpublic boolean isEnterpriseEdition()
public void configure(String iConfiguration)
public boolean startRecording()
startRecording in interface OProfilerstartRecording in interface OProfilerMXBeanstartRecording in class OAbstractProfilerpublic boolean stopRecording()
stopRecording in interface OProfilerstopRecording in interface OProfilerMXBeanstopRecording in class OAbstractProfilerpublic String dump()
dump in interface OProfilerdump in interface OProfilerMXBeandump in class OAbstractProfilerpublic void updateCounter(String statName, String description, long plus, String metadata)
public long getCounter(String statName)
public String dumpCounters()
dumpCounters in interface OProfilerdumpCounters in interface OProfilerMXBeandumpCounters in class OAbstractProfilerpublic OProfilerEntry getChrono(String string)
getChrono in interface OProfilergetChrono in class OAbstractProfilerpublic long startChrono()
startChrono in interface OProfilerstartChrono in class OAbstractProfilerpublic long stopChrono(String iName, String iDescription, long iStartTime)
stopChrono in interface OProfilerstopChrono in class OAbstractProfilerpublic long stopChrono(String iName, String iDescription, long iStartTime, String iDictionary)
stopChrono in interface OProfilerstopChrono in class OAbstractProfilerpublic long stopChrono(String iName, String iDescription, long iStartTime, String iDictionary, String payload)
public long stopChrono(String iName, String iDescription, long iStartTime, String iDictionary, String payload, String user)
public String dumpChronos()
dumpChronos in interface OProfilerdumpChronos in interface OProfilerMXBeandumpChronos in class OAbstractProfilerpublic String[] getCountersAsString()
getCountersAsString in interface OProfilergetCountersAsString in interface OProfilerMXBeangetCountersAsString in class OAbstractProfilerpublic Date getLastReset()
getLastReset in interface OProfilergetLastReset in interface OProfilerMXBeangetLastReset in class OAbstractProfilerpublic String metadataToJSON()
metadataToJSON in interface OProfilermetadataToJSON in interface OProfilerMXBeanmetadataToJSON in class OAbstractProfilerpublic String toJSON(String command, String iPar1)
toJSON in interface OProfilertoJSON in class OAbstractProfilerpublic void resetRealtime(String iText)
public String getStatsAsJson()
protected void updateMetadata(String iName, String iDescription, OProfiler.METRIC_TYPE iType)
updateMetadata in class OAbstractProfilerCopyright © 2009–2025 OrientDB. All rights reserved.