Package com.ultikits.ultitools.utils
Class CloudOutbox.Entry
java.lang.Object
com.ultikits.ultitools.utils.CloudOutbox.Entry
- Enclosing class:
CloudOutbox
One unacknowledged reliable event. Immutable;
payload() returns a copy.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
type
-
ts
private final long ts -
payload
private final com.google.gson.JsonObject payload
-
-
Constructor Details
-
Entry
- Parameters:
id- the envelope id, a ULIDtype- the envelope typets- the event time in epoch milliseconds (contract answer 5)payload- the payload; stored as given, so callers pass a copy they no longer touch
-
-
Method Details