Displays a warning message in /manage if the Gerrit connection is down or some other warning.
- Robert Sandell <email@example.com>
Adds this monitor as a connection listener to PluginImpl. If PluginImpl hasn't started yet, a separate Thread
will be started that tries again in a little while.
logger.error("Unable to register GerritAdministrativeMonitor");
Tells if there is a warning with the send-commands-queue. Utility method for the jelly page.
Gets the current send-command queue size. Utility method for the jelly page.
- the amount of jobs in the queue.
Tells if there is a connection warning. Utility method for the jelly page.
Tells if there is a connection error. Utility method for the jelly page,
If the connected Gerrit is a snapshot version.
A list of the features that has been disabled due to old Gerrit version.
If there are features disabled due to old Gerrit version.
Checks the Gerrit version that we are connected to.
If it is a snapshot or if any features will be disabled because of this.
It should be called whenever we got some new connection status.
logger.warn("Failed to calculate version info! ", ex);