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übersichtKonstruktoren
- 
MethodenübersichtModifizierer 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- 
DUUIHTTPMetricspublic DUUIHTTPMetrics()
 
- 
- 
Methodendetails- 
registerpublic static void register()Register metrics. (Currently empty!)
- 
incrementTotalRequestspublic static void incrementTotalRequests()Increment the total number of requests.
- 
incrementActiveRequestspublic static void incrementActiveRequests()Increment the number of active requests.
- 
decrementActiveRequestspublic static void decrementActiveRequests()Decrement the number of active requests.
- 
incrementPipelinesRequestspublic static void incrementPipelinesRequests()Increment the number of requests to /pipelines.
- 
incrementProcessesRequestspublic static void incrementProcessesRequests()Increment the number of requests to /processes.
- 
incrementComponentsRequestspublic static void incrementComponentsRequests()Increment the number of requests to /components.
- 
incrementUsersRequestspublic static void incrementUsersRequests()Increment the number of requests to /users.
- 
incrementFilesUploadedpublic static void incrementFilesUploaded(double amount) Increment the number of files uploaded.
- 
incrementBytesUploadedpublic static void incrementBytesUploaded(double amount) Increment the total amount of bytes uploaded.
 
-