public class StreamMessageId extends Object
Modifier and Type | Field and Description |
---|---|
static StreamMessageId |
ALL
Defines id to receive all Stream entries.
|
static StreamMessageId |
MAX
Defines maximal id.
|
static StreamMessageId |
MIN
Defines minimal id.
|
static StreamMessageId |
NEVER_DELIVERED
Defines id to receive Stream entries never delivered to any other consumer.
|
static StreamMessageId |
NEWEST
Defines id to receive Stream entries added since method invocation.
|
Constructor and Description |
---|
StreamMessageId(long id0) |
StreamMessageId(long id0,
long id1) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getId0()
Returns first part of ID
|
long |
getId1()
Returns second part of ID
|
int |
hashCode() |
String |
toString() |
public static final StreamMessageId NEVER_DELIVERED
Used in RStream.readGroup(java.lang.String, java.lang.String, org.redisson.api.StreamMessageId...)
methods
public static final StreamMessageId MIN
RStream.range(org.redisson.api.StreamMessageId, org.redisson.api.StreamMessageId)
methodspublic static final StreamMessageId MAX
RStream.range(org.redisson.api.StreamMessageId, org.redisson.api.StreamMessageId)
methodspublic static final StreamMessageId NEWEST
Used in RStream.read(org.redisson.api.StreamMessageId...)
, RStream.createGroup(java.lang.String)
methods
public static final StreamMessageId ALL
Used in RStream.read(org.redisson.api.StreamMessageId...)
, RStream.createGroup(java.lang.String)
methods
public StreamMessageId(long id0)
public StreamMessageId(long id0, long id1)
Copyright © 2014–2020 Redisson. All rights reserved.