public class Checkpoint extends Object
PartitionProcessor
for a particular partition of an Event Hub.Constructor and Description |
---|
Checkpoint() |
Modifier and Type | Method and Description |
---|---|
String |
getConsumerGroup()
Gets the consumer group name associated with this checkpoint.
|
String |
getEventHubName()
Gets the Event Hub name associated with this checkpoint.
|
String |
getFullyQualifiedNamespace()
Returns the fully qualified namespace of the Event Hub.
|
Long |
getOffset()
Gets the offset of the last successfully processed event to store as checkpoint.
|
String |
getPartitionId()
Gets the partition id associated with this checkpoint.
|
Long |
getSequenceNumber()
Gets the sequence number of the last successfully processed event to store as checkpoint.
|
Checkpoint |
setConsumerGroup(String consumerGroup)
Sets the consumer group name associated with this checkpoint.
|
Checkpoint |
setEventHubName(String eventHubName)
Sets the Event Hub name associated with this checkpoint.
|
Checkpoint |
setFullyQualifiedNamespace(String fullyQualifiedNamespace)
Sets the fully qualified namespace of the Event Hub.
|
Checkpoint |
setOffset(Long offset)
Sets the offset of the last successfully processed event to store as checkpoint.
|
Checkpoint |
setPartitionId(String partitionId)
Sets the partition id associated with this checkpoint.
|
Checkpoint |
setSequenceNumber(Long sequenceNumber)
Sets the sequence number of the last successfully processed event to store as checkpoint.
|
public String getFullyQualifiedNamespace()
public Checkpoint setFullyQualifiedNamespace(String fullyQualifiedNamespace)
fullyQualifiedNamespace
- the fully qualified namespace of the Event Hub.Checkpoint
instance.public String getEventHubName()
public Checkpoint setEventHubName(String eventHubName)
eventHubName
- The Event Hub name associated with this checkpoint.Checkpoint
instance.public String getConsumerGroup()
public Checkpoint setConsumerGroup(String consumerGroup)
consumerGroup
- The consumer group name associated with this checkpoint.Checkpoint
instance.public String getPartitionId()
public Checkpoint setPartitionId(String partitionId)
partitionId
- The partition id associated with this checkpoint.Checkpoint
instance.public Long getOffset()
public Checkpoint setOffset(Long offset)
offset
- The offset of the last successfully processed event to store as checkpoint.Checkpoint
instance.public Long getSequenceNumber()
public Checkpoint setSequenceNumber(Long sequenceNumber)
sequenceNumber
- The sequence number of the last successfully processed event to store as checkpoint.Checkpoint
instance.Copyright © 2019 Microsoft Corporation. All rights reserved.