Class StreamEntryID

    • Field Detail

      • NEW_ENTRY

        public static final StreamEntryID NEW_ENTRY
        Should be used only with XADD XADD mystream * field1 value1
      • LAST_ENTRY

        public static final StreamEntryID LAST_ENTRY
        Should be used only with XGROUP CREATE XGROUP CREATE mystream consumer-group-name $
      • UNRECEIVED_ENTRY

        public static final StreamEntryID UNRECEIVED_ENTRY
        Should be used only with XREADGROUP XREADGROUP $GroupName $ConsumerName BLOCK 2000 COUNT 10 STREAMS mystream >
    • Constructor Detail

      • StreamEntryID

        public StreamEntryID()
      • StreamEntryID

        public StreamEntryID​(String id)
      • StreamEntryID

        public StreamEntryID​(long time,
                             long sequence)