Uses of Interface
com.soklet.SseConnection
Packages that use SseConnection
-
Uses of SseConnection in com.soklet
Methods in com.soklet with parameters of type SseConnectionModifier and TypeMethodDescriptiondefault voidMetricsCollector.didDropSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment, @NonNull MetricsCollector.SseEventDropReason reason, @Nullable Integer payloadBytes, @Nullable Integer queueDepth) Called after an SSE comment is dropped before it can be enqueued for delivery.default voidMetricsCollector.didDropSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent, @NonNull MetricsCollector.SseEventDropReason reason, @Nullable Integer payloadBytes, @Nullable Integer queueDepth) Called after an SSE event is dropped before it can be enqueued for delivery.default voidLifecycleObserver.didEstablishSseConnection(@NonNull SseConnection sseConnection) Called after an SSE connection is established.default voidMetricsCollector.didEstablishSseConnection(@NonNull SseConnection sseConnection) Called after an SSE connection is established.default voidLifecycleObserver.didFailToWriteSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment, @NonNull Duration writeDuration, @NonNull Throwable throwable) Called after an SSE comment fails to write.default voidMetricsCollector.didFailToWriteSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment, @NonNull Duration writeDuration, @NonNull Throwable throwable, @Nullable Duration deliveryLag, @Nullable Integer payloadBytes, @Nullable Integer queueDepth) Called after an SSE comment fails to write.default voidLifecycleObserver.didFailToWriteSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent, @NonNull Duration writeDuration, @NonNull Throwable throwable) Called after an SSE event fails to write.default voidMetricsCollector.didFailToWriteSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent, @NonNull Duration writeDuration, @NonNull Throwable throwable, @Nullable Duration deliveryLag, @Nullable Integer payloadBytes, @Nullable Integer queueDepth) Called after an SSE event fails to write.default voidLifecycleObserver.didTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull Duration connectionDuration, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called after an SSE connection is terminated.default voidMetricsCollector.didTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull Duration connectionDuration, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called after an SSE connection is terminated.default voidLifecycleObserver.didWriteSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment, @NonNull Duration writeDuration) Called after an SSE comment is written.default voidMetricsCollector.didWriteSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment, @NonNull Duration writeDuration, @Nullable Duration deliveryLag, @Nullable Integer payloadBytes, @Nullable Integer queueDepth) Called after an SSE comment is written.default voidLifecycleObserver.didWriteSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent, @NonNull Duration writeDuration) Called after an SSE event is written.default voidMetricsCollector.didWriteSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent, @NonNull Duration writeDuration, @Nullable Duration deliveryLag, @Nullable Integer payloadBytes, @Nullable Integer queueDepth) Called after an SSE event is written.default voidLifecycleObserver.willTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called before an SSE connection is terminated.default voidMetricsCollector.willTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called before an SSE connection is terminated.default voidLifecycleObserver.willWriteSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment) Called before an SSE comment is written.default voidMetricsCollector.willWriteSseComment(@NonNull SseConnection sseConnection, @NonNull SseComment sseComment) Called before an SSE comment is written.default voidLifecycleObserver.willWriteSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent) Called before an SSE event is written.default voidMetricsCollector.willWriteSseEvent(@NonNull SseConnection sseConnection, @NonNull SseEvent sseEvent) Called before an SSE event is written.