Class SeekTarget

public abstract class SeekTarget implements Serializable

The target location to seek a subscription to.

Inheritance

java.lang.Object > SeekTarget

Implements

Serializable

Constructors

SeekTarget()

public SeekTarget()

Methods

backlogLocation()

public abstract BacklogLocation backlogLocation()
Returns
TypeDescription
BacklogLocation

eventTime()

public abstract Timestamp eventTime()
Returns
TypeDescription
Timestamp

getKind()

public abstract SeekTarget.Kind getKind()
Returns
TypeDescription
SeekTarget.Kind

of(BacklogLocation location)

public static SeekTarget of(BacklogLocation location)

Seek to a named backlog location.

Parameter
NameDescription
locationBacklogLocation
Returns
TypeDescription
SeekTarget

ofEventTime(Timestamp time)

public static SeekTarget ofEventTime(Timestamp time)

Seek to a message event timestamp.

Parameter
NameDescription
timeTimestamp
Returns
TypeDescription
SeekTarget

ofPublishTime(Timestamp time)

public static SeekTarget ofPublishTime(Timestamp time)

Seek to a message publish timestamp.

Parameter
NameDescription
timeTimestamp
Returns
TypeDescription
SeekTarget

publishTime()

public abstract Timestamp publishTime()
Returns
TypeDescription
Timestamp