Class PythonPoolEndpoint
java.lang.Object
io.micronaut.context.python.PythonPoolEndpoint
@Endpoint(id="pythonpool",
defaultEnabled=true,
defaultSensitive=true)
@Requires(classes=Endpoint.class)
public class PythonPoolEndpoint
extends Object
Serves the
PythonPoolStatistics snapshot at /pythonpool when the management module
is on the classpath. The endpoint is sensitive by default; set
endpoints.pythonpool.sensitive=false to expose it without authentication.- Since:
- 5.2.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
-
-
Constructor Details
-
PythonPoolEndpoint
- Parameters:
executor- The pool
-
-
Method Details
-
statistics
- Returns:
- The current pool statistics
-