Class PrometheusEndpoint.PrometheusEndpointExtension
- java.lang.Object
-
- io.streamthoughts.azkarra.metrics.endpoints.PrometheusEndpoint.PrometheusEndpointExtension
-
- All Implemented Interfaces:
Configurable
,AzkarraRestExtension
,Closeable
,AutoCloseable
- Enclosing class:
- PrometheusEndpoint
public static class PrometheusEndpoint.PrometheusEndpointExtension extends Object implements AzkarraRestExtension
-
-
Constructor Summary
Constructors Constructor Description PrometheusEndpointExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
register(AzkarraRestExtensionContext restContext)
TheAzkarraRestExtension
implementations should use this method to register JAX-RS resources.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.api.server.AzkarraRestExtension
configure
-
-
-
-
Method Detail
-
register
public void register(AzkarraRestExtensionContext restContext)
TheAzkarraRestExtension
implementations should use this method to register JAX-RS resources.- Specified by:
register
in interfaceAzkarraRestExtension
- Parameters:
restContext
- theAzkarraRestExtensionContext
instance.
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-