Class ResponseStatisticsImpl.Builder
- java.lang.Object
-
- org.glassfish.jersey.server.internal.monitoring.ResponseStatisticsImpl.Builder
-
- Enclosing class:
- ResponseStatisticsImpl
static class ResponseStatisticsImpl.Builder extends java.lang.Object
This builder does not need to be threadsafe since it's called only from the jersey-background-task-scheduler.
-
-
Field Summary
Fields Modifier and Type Field Description private ResponseStatisticsImpl
cached
private java.lang.Integer
lastResponseCode
private java.util.Map<java.lang.Integer,java.lang.Long>
responseCodesMap
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addResponseCode(int responseCode)
(package private) ResponseStatisticsImpl
build()
-
-
-
Field Detail
-
responseCodesMap
private final java.util.Map<java.lang.Integer,java.lang.Long> responseCodesMap
-
lastResponseCode
private java.lang.Integer lastResponseCode
-
cached
private ResponseStatisticsImpl cached
-
-
Method Detail
-
addResponseCode
void addResponseCode(int responseCode)
-
build
ResponseStatisticsImpl build()
-
-