Class MetricsCollector.SseEventRouteKey
java.lang.Object
com.soklet.MetricsCollector.SseEventRouteKey
- Enclosing interface:
MetricsCollector
Key for metrics grouped by Server-Sent Event route match information.
- Author:
- Mark Allen
-
Constructor Summary
ConstructorsConstructorDescriptionSseEventRouteKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration resourcePathDeclaration) Creates an SSE event route key. -
Method Summary
-
Constructor Details
-
SseEventRouteKey
public SseEventRouteKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration resourcePathDeclaration) Creates an SSE event route key.- Parameters:
routeType- whether a route matchedresourcePathDeclaration- matched route, ornullwhen unmatched
-
-
Method Details
-
getRouteType
- Returns:
- whether a route matched
-
getResourcePathDeclaration
- Returns:
- matched route, or
nullwhen unmatched
-
equals
-
hashCode
-
toString
-