Klasse DUUIHTTPMetrics
java.lang.Object
org.texttechnologylab.duui.api.metrics.providers.DUUIHTTPMetrics
A class containing metrics for requests and means to update them.
- Autor:
- Cedric Borkowski.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidDecrement the number of active requests.static voidIncrement the number of active requests.static voidincrementBytesUploaded(double amount) Increment the total amount of bytes uploaded.static voidIncrement the number of requests to /components.static voidincrementFilesUploaded(double amount) Increment the number of files uploaded.static voidIncrement the number of requests to /pipelines.static voidIncrement the number of requests to /processes.static voidIncrement the total number of requests.static voidIncrement the number of requests to /users.static voidregister()Register metrics.
-
Konstruktordetails
-
DUUIHTTPMetrics
public DUUIHTTPMetrics()
-
-
Methodendetails
-
register
public static void register()Register metrics. (Currently empty!) -
incrementTotalRequests
public static void incrementTotalRequests()Increment the total number of requests. -
incrementActiveRequests
public static void incrementActiveRequests()Increment the number of active requests. -
decrementActiveRequests
public static void decrementActiveRequests()Decrement the number of active requests. -
incrementPipelinesRequests
public static void incrementPipelinesRequests()Increment the number of requests to /pipelines. -
incrementProcessesRequests
public static void incrementProcessesRequests()Increment the number of requests to /processes. -
incrementComponentsRequests
public static void incrementComponentsRequests()Increment the number of requests to /components. -
incrementUsersRequests
public static void incrementUsersRequests()Increment the number of requests to /users. -
incrementFilesUploaded
public static void incrementFilesUploaded(double amount) Increment the number of files uploaded. -
incrementBytesUploaded
public static void incrementBytesUploaded(double amount) Increment the total amount of bytes uploaded.
-