Package org.gcube.common.health.api
package org.gcube.common.health.api
-
ClassDescriptionHow an application prepares itself in one of its Contexts (e.g. reads or creates its configuration there and reaches what it needs) and reports its state there.Marks the
ContextPreparationof an application: SmartGears finds it and uses it to prepare the application in each of its Contexts and to report its state there.The state of an application in one of its Contexts:pendingbefore it has been prepared there,activewhen it works there,degradedwhen it works with a problem to verify,inactivewhen it cannot work there.One figure of a group ofStatistics: a number, or a distribution of numbers by name (e.g.Marks aHealthCheckof an application: SmartGears finds it, runs it at the start and then every minute, and reports it in the health of the application.One group of public statistics of an application, e.g. the Contexts of a registry: aggregate numbers only, never a name of a Context, an identifier or a user.Marks a group of public statistics of an application, a class implementingStatistics: SmartGears finds every such class of the application, computes each group on its own schedule and serves the last results without a token at/smartgears/<application>/statistics.