Class CommandDedupeSet.Seen

java.lang.Object
com.ultikits.ultitools.utils.CommandDedupeSet.Seen
Enclosing class:
CommandDedupeSet

static final class CommandDedupeSet.Seen extends Object
One remembered command id, when it was first seen and its receipt, if any.
  • Field Details

    • id

      private final String id
    • seenAt

      private final long seenAt
    • receipt

      private final com.google.gson.JsonObject receipt
  • Constructor Details

    • Seen

      Seen(String id, long seenAt)
      Parameters:
      id - the command's envelope id
      seenAt - when it was first seen, epoch milliseconds
    • Seen

      Seen(String id, long seenAt, com.google.gson.JsonObject receipt)
      Parameters:
      id - the envelope id
      seenAt - when it was first seen, epoch milliseconds
      receipt - its recorded result payload, or null
  • Method Details

    • receipt

      com.google.gson.JsonObject receipt()
      Returns:
      the recorded result payload, or null; must not be mutated
    • id

      String id()
    • seenAt

      long seenAt()