public final class HBaseConsumerStateStore extends co.cask.cdap.api.dataset.lib.AbstractDataset implements QueueConfigurer
| Modifier and Type | Method and Description |
|---|---|
void |
configureGroups(Iterable<? extends ConsumerGroupConfig> groupConfigs)
Changes the configuration of all consumer groups.
|
void |
configureInstances(long groupId,
int instances)
Changes the number of consumer instances of the given consumer group.
|
com.google.common.collect.Multimap<Long,QueueBarrier> |
getAllBarriers()
Gets all barrier information for all groups.
|
List<QueueBarrier> |
getAllBarriers(long groupId)
Gets all barrier information for the given group.
|
co.cask.tephra.Transaction |
getTransaction() |
void |
startTx(co.cask.tephra.Transaction tx) |
close, commitTx, getName, getTransactionAwareName, getTxChanges, postTxCommit, rollbackTx, setMetricsCollector, toString, updateTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void startTx(co.cask.tephra.Transaction tx)
startTx in interface co.cask.tephra.TransactionAwarestartTx in class co.cask.cdap.api.dataset.lib.AbstractDatasetpublic void configureInstances(long groupId,
int instances)
QueueConfigurerconfigureInstances in interface QueueConfigurergroupId - groupId of the consumer groupinstances - number of instances to change topublic void configureGroups(Iterable<? extends ConsumerGroupConfig> groupConfigs)
QueueConfigurerconfigureGroups in interface QueueConfigurergroupConfigs - information for all consumer groupspublic co.cask.tephra.Transaction getTransaction()
public List<QueueBarrier> getAllBarriers(long groupId)
public com.google.common.collect.Multimap<Long,QueueBarrier> getAllBarriers()
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.