-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support querying inbound stream metadata
- Loading branch information
Showing
6 changed files
with
167 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.trickl.flux.websocket; | ||
|
||
import java.time.Instant; | ||
|
||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
@Builder | ||
@Data | ||
@EqualsAndHashCode | ||
public class StreamDetail { | ||
protected StreamId id; | ||
protected int subscriberCount; | ||
protected int messageCount; | ||
protected Instant subscriptionTime; | ||
protected Instant lastMessageTime; | ||
protected Instant cancelTime; | ||
protected Instant completeTime; | ||
protected Instant errorTime; | ||
protected String errorMessage; | ||
protected boolean isTerminated; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/com/trickl/flux/websocket/SubscriptionDetail.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.trickl.flux.websocket; | ||
|
||
import java.time.Instant; | ||
|
||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
@Builder | ||
@Data | ||
@EqualsAndHashCode | ||
public class SubscriptionDetail { | ||
protected final String subscriptionId; | ||
protected final String userName; | ||
protected final String destination; | ||
protected final String sessionId; | ||
protected Instant subscriptionTime; | ||
protected Instant cancelTime; | ||
protected Instant completeTime; | ||
protected Instant errorTime; | ||
protected String errorMessage; | ||
protected boolean isCancelled; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters