Module org.apache.jena.fuseki.main
Class FMod_Prometheus
java.lang.Object
org.apache.jena.fuseki.mod.prometheus.FMod_Prometheus
- All Implemented Interfaces:
FusekiActionCycle
,FusekiBuildCycle
,FusekiModule
,FusekiServerArgsCustomiser
,FusekiStartStop
Prometheus Metrics.
PrometheusMetricsProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FusekiModule
create()
name()
A display name to identify this module.void
prepare
(FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Called at the start of "build" step.void
server
(FusekiServer server) Called when the server is built at the point where it is returned from theFuseki server builder
.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.fuseki.main.sys.FusekiModule
configDataAccessPoint, configured, serverAfterStarting, serverBeforeStarting, serverConfirmReload, serverReload, serverStopped
Methods inherited from interface org.apache.jena.fuseki.main.sys.FusekiServerArgsCustomiser
serverArgsBuilder, serverArgsModify, serverArgsPrepare
-
Constructor Details
-
FMod_Prometheus
public FMod_Prometheus()
-
-
Method Details
-
create
-
name
Description copied from interface:FusekiModule
A display name to identify this module.This defaults to the Java simple class name of module.
- Specified by:
name
in interfaceFusekiBuildCycle
- Specified by:
name
in interfaceFusekiModule
-
prepare
public void prepare(FusekiServer.Builder serverBuilder, Set<String> datasetNames, org.apache.jena.rdf.model.Model configModel) Description copied from interface:FusekiModule
Called at the start of "build" step. The builder has been set according to the configuration of API calls and parsing configuration files. No build actions have been carried out yet. The module can make further FusekiServer.FusekiServer.Builder
calls. The "configModel" parameter is set if a configuration file was used otherwise it is null.This is the main point for customization of server.
It can add and modify the data services being built, and also add servlets and servlet filters.
- Specified by:
prepare
in interfaceFusekiBuildCycle
- Specified by:
prepare
in interfaceFusekiModule
- Parameters:
serverBuilder
- The FusekiServer.BuilderdatasetNames
- The names of DataServices configured by API calls and configuration file.
-
server
Description copied from interface:FusekiModule
Called when the server is built at the point where it is returned from theFuseki server builder
. The server has not yet been started.- Specified by:
server
in interfaceFusekiBuildCycle
- Specified by:
server
in interfaceFusekiModule
-