Class InternalsImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.telemetry.dto.InternalsImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationServerImpl
applicationServer
protected java.util.Set<java.lang.String>
camundaIntegration
protected java.util.Map<java.lang.String,Command>
commands
protected DatabaseImpl
database
protected JdkImpl
jdk
protected LicenseKeyDataImpl
licenseKey
protected java.util.Map<java.lang.String,Metric>
metrics
static java.lang.String
SERIALIZED_APPLICATION_SERVER
static java.lang.String
SERIALIZED_CAMUNDA_INTEGRATION
static java.lang.String
SERIALIZED_LICENSE_KEY
static java.lang.String
SERIALIZED_TELEMETRY_ENABLED
protected java.lang.Boolean
telemetryEnabled
protected java.util.Set<java.lang.String>
webapps
-
Constructor Summary
Constructors Constructor Description InternalsImpl()
InternalsImpl(DatabaseImpl database, ApplicationServerImpl server, LicenseKeyDataImpl licenseKey, JdkImpl jdk)
InternalsImpl(InternalsImpl internals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationServerImpl
getApplicationServer()
Information about the application server Camunda is running on.java.util.Set<java.lang.String>
getCamundaIntegration()
Used Camunda integrations (e.g, Spring boot starter, Camunda Platform Run, WildFly/JBoss subsystem or Camunda EJB service).java.util.Map<java.lang.String,Command>
getCommands()
Information about the number of command executions performed by the Camunda engine.DatabaseImpl
getDatabase()
Information about the connected database system.JdkImpl
getJdk()
Information about the installed Java runtime environment.LicenseKeyDataImpl
getLicenseKey()
Information about the Camunda license key issued for enterprise editions of Camunda Platform.java.util.Map<java.lang.String,Metric>
getMetrics()
A selection of metrics collected by the engine.java.util.Set<java.lang.String>
getWebapps()
Webapps enabled in the Camunda installation (e.g., cockpit, admin, tasklist).java.lang.Boolean
isTelemetryEnabled()
void
mergeDynamicData(InternalsImpl other)
void
putCommand(java.lang.String commandName, int count)
void
putMetric(java.lang.String metricName, int count)
void
setApplicationServer(ApplicationServerImpl applicationServer)
void
setCamundaIntegration(java.util.Set<java.lang.String> camundaIntegration)
void
setCommands(java.util.Map<java.lang.String,Command> commands)
void
setDatabase(DatabaseImpl database)
void
setJdk(JdkImpl jdk)
void
setLicenseKey(LicenseKeyDataImpl licenseKey)
void
setMetrics(java.util.Map<java.lang.String,Metric> metrics)
void
setTelemetryEnabled(java.lang.Boolean telemetryEnabled)
void
setWebapps(java.util.Set<java.lang.String> webapps)
-
-
-
Field Detail
-
SERIALIZED_APPLICATION_SERVER
public static final java.lang.String SERIALIZED_APPLICATION_SERVER
- See Also:
- Constant Field Values
-
SERIALIZED_CAMUNDA_INTEGRATION
public static final java.lang.String SERIALIZED_CAMUNDA_INTEGRATION
- See Also:
- Constant Field Values
-
SERIALIZED_LICENSE_KEY
public static final java.lang.String SERIALIZED_LICENSE_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_TELEMETRY_ENABLED
public static final java.lang.String SERIALIZED_TELEMETRY_ENABLED
- See Also:
- Constant Field Values
-
database
protected DatabaseImpl database
-
applicationServer
@SerializedName("application-server") protected ApplicationServerImpl applicationServer
-
licenseKey
@SerializedName("license-key") protected LicenseKeyDataImpl licenseKey
-
commands
protected java.util.Map<java.lang.String,Command> commands
-
camundaIntegration
@SerializedName("camunda-integration") protected java.util.Set<java.lang.String> camundaIntegration
-
metrics
protected java.util.Map<java.lang.String,Metric> metrics
-
webapps
protected java.util.Set<java.lang.String> webapps
-
jdk
protected JdkImpl jdk
-
telemetryEnabled
@SerializedName("telemetry-enabled") protected java.lang.Boolean telemetryEnabled
-
-
Constructor Detail
-
InternalsImpl
public InternalsImpl()
-
InternalsImpl
public InternalsImpl(DatabaseImpl database, ApplicationServerImpl server, LicenseKeyDataImpl licenseKey, JdkImpl jdk)
-
InternalsImpl
public InternalsImpl(InternalsImpl internals)
-
-
Method Detail
-
getDatabase
public DatabaseImpl getDatabase()
Description copied from interface:Internals
Information about the connected database system.- Specified by:
getDatabase
in interfaceInternals
-
setDatabase
public void setDatabase(DatabaseImpl database)
-
getApplicationServer
public ApplicationServerImpl getApplicationServer()
Description copied from interface:Internals
Information about the application server Camunda is running on.- Specified by:
getApplicationServer
in interfaceInternals
-
setApplicationServer
public void setApplicationServer(ApplicationServerImpl applicationServer)
-
getCommands
public java.util.Map<java.lang.String,Command> getCommands()
Description copied from interface:Internals
Information about the number of command executions performed by the Camunda engine. If telemetry sending is enabled, the number of executions per command resets on sending the data to Camunda. Retrieving the data throughManagementService.getTelemetryData()
will not reset the count.- Specified by:
getCommands
in interfaceInternals
-
setCommands
public void setCommands(java.util.Map<java.lang.String,Command> commands)
-
putCommand
public void putCommand(java.lang.String commandName, int count)
-
getMetrics
public java.util.Map<java.lang.String,Metric> getMetrics()
Description copied from interface:Internals
A selection of metrics collected by the engine. Metrics included are:- The number of root process instance executions started.
- The number of activity instances started or also known as flow node instances.
- The number of executed decision instances.
- The number of executed decision elements.
ManagementService.getTelemetryData()
will not reset the count.- Specified by:
getMetrics
in interfaceInternals
-
setMetrics
public void setMetrics(java.util.Map<java.lang.String,Metric> metrics)
-
putMetric
public void putMetric(java.lang.String metricName, int count)
-
mergeDynamicData
public void mergeDynamicData(InternalsImpl other)
-
getJdk
public JdkImpl getJdk()
Description copied from interface:Internals
Information about the installed Java runtime environment.
-
setJdk
public void setJdk(JdkImpl jdk)
-
getCamundaIntegration
public java.util.Set<java.lang.String> getCamundaIntegration()
Description copied from interface:Internals
Used Camunda integrations (e.g, Spring boot starter, Camunda Platform Run, WildFly/JBoss subsystem or Camunda EJB service).- Specified by:
getCamundaIntegration
in interfaceInternals
-
setCamundaIntegration
public void setCamundaIntegration(java.util.Set<java.lang.String> camundaIntegration)
-
getLicenseKey
public LicenseKeyDataImpl getLicenseKey()
Description copied from interface:Internals
Information about the Camunda license key issued for enterprise editions of Camunda Platform. May be null when no license is used.- Specified by:
getLicenseKey
in interfaceInternals
-
setLicenseKey
public void setLicenseKey(LicenseKeyDataImpl licenseKey)
-
isTelemetryEnabled
public java.lang.Boolean isTelemetryEnabled()
-
setTelemetryEnabled
public void setTelemetryEnabled(java.lang.Boolean telemetryEnabled)
-
getWebapps
public java.util.Set<java.lang.String> getWebapps()
Description copied from interface:Internals
Webapps enabled in the Camunda installation (e.g., cockpit, admin, tasklist).- Specified by:
getWebapps
in interfaceInternals
-
setWebapps
public void setWebapps(java.util.Set<java.lang.String> webapps)
-
-