| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
MessagingService.getTopic(co.cask.cdap.proto.id.TopicId topicId)
Returns the metadata of the given topic.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessagingService.createTopic(TopicMetadata topicMetadata)
Creates a topic with the given metadata.
|
static void |
MessagingServices.createTopicIfNotExists(MessagingService messagingService,
TopicMetadata topicMetadata) |
void |
MessagingService.updateTopic(TopicMetadata topicMetadata)
Updates the metadata of a topic.
|
| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
ClientMessagingService.getTopic(co.cask.cdap.proto.id.TopicId topicId) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientMessagingService.createTopic(TopicMetadata topicMetadata) |
void |
ClientMessagingService.updateTopic(TopicMetadata topicMetadata) |
| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
LeaderElectionMessagingService.getTopic(co.cask.cdap.proto.id.TopicId topicId) |
| Modifier and Type | Method and Description |
|---|---|
void |
LeaderElectionMessagingService.createTopic(TopicMetadata topicMetadata) |
void |
LeaderElectionMessagingService.updateTopic(TopicMetadata topicMetadata) |
| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
CoreMessagingService.getTopic(co.cask.cdap.proto.id.TopicId topicId) |
| Modifier and Type | Method and Description |
|---|---|
void |
CoreMessagingService.createTopic(TopicMetadata topicMetadata) |
void |
CoreMessagingService.updateTopic(TopicMetadata topicMetadata) |
| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
MetadataTable.getMetadata(co.cask.cdap.proto.id.TopicId topicId)
Fetch the metadata of the
TopicId. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetadataTable.createTopic(TopicMetadata topicMetadata)
Create a topic with properties.
|
co.cask.cdap.api.dataset.lib.CloseableIterator<MessageTable.Entry> |
AbstractMessageTable.fetch(TopicMetadata metadata,
long startTime,
int limit,
org.apache.tephra.Transaction transaction) |
co.cask.cdap.api.dataset.lib.CloseableIterator<MessageTable.Entry> |
MessageTable.fetch(TopicMetadata metadata,
long startTime,
int limit,
org.apache.tephra.Transaction transaction)
Fetches message table entries in the given topic that were publish on or after the given start time.
|
co.cask.cdap.api.dataset.lib.CloseableIterator<PayloadTable.Entry> |
PayloadTable.fetch(TopicMetadata metadata,
long transactionWritePointer,
MessageId messageId,
boolean inclusive,
int limit)
Fetches entries from the payload table under the given topic, starting from the given
MessageId. |
co.cask.cdap.api.dataset.lib.CloseableIterator<PayloadTable.Entry> |
AbstractPayloadTable.fetch(TopicMetadata metadata,
long transactionWritePointer,
MessageId messageId,
boolean inclusive,
int limit) |
co.cask.cdap.api.dataset.lib.CloseableIterator<MessageTable.Entry> |
AbstractMessageTable.fetch(TopicMetadata metadata,
MessageId messageId,
boolean inclusive,
int limit,
org.apache.tephra.Transaction transaction) |
co.cask.cdap.api.dataset.lib.CloseableIterator<MessageTable.Entry> |
MessageTable.fetch(TopicMetadata metadata,
MessageId messageId,
boolean inclusive,
int limit,
org.apache.tephra.Transaction transaction)
Fetches message table entries in the given topic, starting from the given
MessageId. |
void |
AbstractMessageTable.rollback(TopicMetadata metadata,
RollbackDetail rollbackDetail) |
void |
MessageTable.rollback(TopicMetadata metadata,
RollbackDetail rollbackDetail)
Rollback entries stored earlier, as deleted, under the given topic based on the given information.
|
void |
MetadataTable.updateTopic(TopicMetadata topicMetadata)
Updates the topic properties.
|
| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
HBaseMetadataTable.getMetadata(co.cask.cdap.proto.id.TopicId topicId) |
| Modifier and Type | Method and Description |
|---|---|
void |
HBaseMetadataTable.createTopic(TopicMetadata topicMetadata) |
void |
HBaseMetadataTable.updateTopic(TopicMetadata topicMetadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
LevelDBPayloadTable.pruneMessages(TopicMetadata topicMetadata,
long currentTime)
Delete messages of a
TopicId that has exceeded the TTL or if it belongs to an older generation |
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.