Class TelemetryRegistry
- java.lang.Object
-
- org.camunda.bpm.engine.impl.telemetry.TelemetryRegistry
-
public class TelemetryRegistry extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationServerImpl
applicationServer
protected String
camundaIntegration
protected Map<String,CommandCounter>
commands
protected LicenseKeyDataImpl
licenseKey
protected AtomicBoolean
telemetryLocallyActivated
protected Set<String>
webapps
-
Constructor Summary
Constructors Constructor Description TelemetryRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWebapp(String webapp)
void
clear()
void
clearCommandCounts()
ApplicationServerImpl
getApplicationServer()
String
getCamundaIntegration()
Map<String,CommandCounter>
getCommands()
LicenseKeyDataImpl
getLicenseKey()
Set<String>
getWebapps()
boolean
isTelemetryLocallyActivated()
void
markOccurrence(String name)
void
markOccurrence(String name, long times)
void
setApplicationServer(String applicationServerVersion)
void
setCamundaIntegration(String camundaIntegration)
void
setLicenseKey(LicenseKeyDataImpl licenseKey)
boolean
setTelemetryLocallyActivated(boolean activated)
void
setWebapps(Set<String> webapps)
-
-
-
Field Detail
-
commands
protected Map<String,CommandCounter> commands
-
applicationServer
protected ApplicationServerImpl applicationServer
-
licenseKey
protected LicenseKeyDataImpl licenseKey
-
camundaIntegration
protected String camundaIntegration
-
telemetryLocallyActivated
protected AtomicBoolean telemetryLocallyActivated
-
-
Method Detail
-
getApplicationServer
public ApplicationServerImpl getApplicationServer()
-
setApplicationServer
public void setApplicationServer(String applicationServerVersion)
-
getCommands
public Map<String,CommandCounter> getCommands()
-
getCamundaIntegration
public String getCamundaIntegration()
-
setCamundaIntegration
public void setCamundaIntegration(String camundaIntegration)
-
getLicenseKey
public LicenseKeyDataImpl getLicenseKey()
-
setLicenseKey
public void setLicenseKey(LicenseKeyDataImpl licenseKey)
-
markOccurrence
public void markOccurrence(String name)
-
markOccurrence
public void markOccurrence(String name, long times)
-
addWebapp
public void addWebapp(String webapp)
-
isTelemetryLocallyActivated
public boolean isTelemetryLocallyActivated()
-
setTelemetryLocallyActivated
public boolean setTelemetryLocallyActivated(boolean activated)
- Returns:
- previous value
-
clearCommandCounts
public void clearCommandCounts()
-
clear
public void clear()
-
-