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