public class ExportStatus extends Object
Constructor and Description |
---|
ExportStatus()
No args constructor for use in serialization
|
ExportStatus(String exportConfigIdentifier,
Long lastExportedSequenceNumber,
Long lastExportTime,
String errorMessage,
Long exportedBytesFromStream,
Long exportedMessagesCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getErrorMessage()
Error message from the last export attempt if it failed.
|
String |
getExportConfigIdentifier()
The unique export identifier.
|
Long |
getExportedBytesFromStream()
Total bytes exported from the stream for this Export Config.
|
Long |
getExportedMessagesCount()
Total messages exported/processed.
|
Long |
getLastExportedSequenceNumber()
The sequence number of the last message which was successfully exported.
|
Long |
getLastExportTime()
The last time an export was attempted.
|
int |
hashCode() |
void |
setErrorMessage(String errorMessage)
Error message from the last export attempt if it failed.
|
void |
setExportConfigIdentifier(String exportConfigIdentifier)
The unique export identifier.
|
void |
setExportedBytesFromStream(Long exportedBytesFromStream)
Total bytes exported from the stream for this Export Config.
|
void |
setExportedMessagesCount(Long exportedMessagesCount)
Total messages exported/processed.
|
void |
setLastExportedSequenceNumber(Long lastExportedSequenceNumber)
The sequence number of the last message which was successfully exported.
|
void |
setLastExportTime(Long lastExportTime)
The last time an export was attempted.
|
String |
toString() |
ExportStatus |
withErrorMessage(String errorMessage) |
ExportStatus |
withExportConfigIdentifier(String exportConfigIdentifier) |
ExportStatus |
withExportedBytesFromStream(Long exportedBytesFromStream) |
ExportStatus |
withExportedMessagesCount(Long exportedMessagesCount) |
ExportStatus |
withLastExportedSequenceNumber(Long lastExportedSequenceNumber) |
ExportStatus |
withLastExportTime(Long lastExportTime) |
public ExportStatus()
public ExportStatus(String exportConfigIdentifier, Long lastExportedSequenceNumber, Long lastExportTime, String errorMessage, Long exportedBytesFromStream, Long exportedMessagesCount)
exportConfigIdentifier
- errorMessage
- lastExportTime
- exportedBytesFromStream
- exportedMessagesCount
- lastExportedSequenceNumber
- public String getExportConfigIdentifier()
public void setExportConfigIdentifier(String exportConfigIdentifier)
public ExportStatus withExportConfigIdentifier(String exportConfigIdentifier)
public Long getLastExportedSequenceNumber()
public void setLastExportedSequenceNumber(Long lastExportedSequenceNumber)
public ExportStatus withLastExportedSequenceNumber(Long lastExportedSequenceNumber)
public Long getLastExportTime()
public void setLastExportTime(Long lastExportTime)
public ExportStatus withLastExportTime(Long lastExportTime)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public ExportStatus withErrorMessage(String errorMessage)
public Long getExportedBytesFromStream()
public void setExportedBytesFromStream(Long exportedBytesFromStream)
public ExportStatus withExportedBytesFromStream(Long exportedBytesFromStream)
public Long getExportedMessagesCount()
public void setExportedMessagesCount(Long exportedMessagesCount)
public ExportStatus withExportedMessagesCount(Long exportedMessagesCount)