public interface OProfiler extends OService
Modifier and Type | Interface and Description |
---|---|
static class |
OProfiler.METRIC_TYPE |
OProfiler.METRIC_TYPE getType(String k)
void updateCounter(String iStatName, String iDescription, long iPlus, String iDictionary)
long getCounter(String iStatName)
String dump()
String dumpCounters()
OProfilerEntry getChrono(String string)
long startChrono()
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)
String dumpChronos()
String[] getCountersAsString()
Date getLastReset()
boolean isRecording()
boolean startRecording()
boolean stopRecording()
void unregisterHookValue(String string)
void configure(String string)
void setAutoDump(int iNewValue)
String metadataToJSON()
Map<String,OPair<String,OProfiler.METRIC_TYPE>> getMetadata()
String[] getHookAsString()
void registerHookValue(String iName, String iDescription, OProfiler.METRIC_TYPE iType, OAbstractProfiler.OProfilerHookValue iHookValue)
void registerHookValue(String iName, String iDescription, OProfiler.METRIC_TYPE iType, OAbstractProfiler.OProfilerHookValue iHookValue, String iMetadataName)
void resetRealtime(String iText)
void dump(PrintStream out)
int reportTip(String iMessage)
void registerListener(OProfilerListener listener)
void unregisterListener(OProfilerListener listener)
String threadDump()
String getStatsAsJson()
default boolean isEnterpriseEdition()
default ODocument getContext()
Copyright © 2009–2020 OrientDB. All rights reserved.