public static interface IOpaquePartitionedTridentSpout.Emitter<Partitions,Partition extends ISpoutPartition,M>
Modifier and Type | Method and Description |
---|---|
void |
close() |
M |
emitPartitionBatch(TransactionAttempt tx,
TridentCollector collector,
Partition partition,
M lastPartitionMeta)
Emit a batch of tuples for a partition/transaction.
|
List<Partition> |
getOrderedPartitions(Partitions allPartitionInfo) |
void |
refreshPartitions(List<Partition> partitionResponsibilities)
This method is called when this task is responsible for a new set of partitions.
|
M emitPartitionBatch(TransactionAttempt tx, TridentCollector collector, Partition partition, M lastPartitionMeta)
void refreshPartitions(List<Partition> partitionResponsibilities)
List<Partition> getOrderedPartitions(Partitions allPartitionInfo)
void close()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.