| Modifier and Type | Method and Description |
|---|---|
Future<TimelineEntry> |
TimelineQueue.batchStore(long sequenceId,
TimelineMessage message)
Batch store message asynchronously with manually set sequence id.
|
Future<TimelineEntry> |
TimelineQueue.batchStore(long sequenceId,
TimelineMessage message,
TimelineCallback callback)
Store message asynchronously with manually set sequence id by writer.
|
Future<TimelineEntry> |
TimelineQueue.batchStore(TimelineMessage message)
Batch store message to specified timeline queue with auto-generated sequence id.
|
Future<TimelineEntry> |
TimelineQueue.batchStore(TimelineMessage message,
TimelineCallback callback)
Store message asynchronously with autogenerated sequence id by writer.
|
void |
TimelineCallback.onCompleted(TimelineIdentifier identifier,
TimelineMessage message,
TimelineEntry timelineEntry)
Function to invoke when succeed.
|
void |
TimelineCallback.onFailed(TimelineIdentifier identifier,
TimelineMessage message,
Exception ex)
Function to invoke when failed.
|
TimelineEntry |
TimelineQueue.store(long sequenceId,
TimelineMessage message)
Store message to specified timeline queue whose sequence id is set manually.
|
TimelineEntry |
TimelineQueue.store(TimelineMessage message)
Store message into specified timeline queue with auto-generated sequence id.
|
Future<TimelineEntry> |
TimelineQueue.storeAsync(long sequenceId,
TimelineMessage message,
TimelineCallback callback)
Store message asynchronously with manually set sequence id.
|
Future<TimelineEntry> |
TimelineQueue.storeAsync(TimelineMessage message,
TimelineCallback callback)
Store message asynchronously with auto-generated sequence id.
|
TimelineEntry |
TimelineQueue.update(long sequenceId,
TimelineMessage message)
Update message with new content by sequence id.
|
Future<TimelineEntry> |
TimelineQueue.updateAsync(long sequenceId,
TimelineMessage message,
TimelineCallback callback)
Update message asynchronously with new content by sequence id.
|
| Modifier and Type | Method and Description |
|---|---|
TimelineMessage |
TimelineEntry.getMessage()
Get the message of this entry in timeline.
|
TimelineMessage |
TimelineMessageForV1.getTimelineMessage() |
| Constructor and Description |
|---|
TimelineEntry(long sequenceID,
TimelineMessage message) |
TimelineMessageForV1(TimelineMessage message) |
| Modifier and Type | Method and Description |
|---|---|
static RowPutChangeWithCallback |
Utils.messageToNewRowPutChange(String tableName,
PrimaryKey primaryKey,
TimelineMessage message) |
static RowPutChange |
Utils.messageToRowPutChange(String tableName,
PrimaryKey primaryKey,
TimelineMessage message) |
static TimelineEntry |
Utils.rowToTimelineEntryWithMessage(TimelineSchema schema,
Row row,
TimelineMessage message)
Can't get columns when update row, should use message to construct timelineEntry
|
Copyright © 2024. All Rights Reserved.