storm.trident.spout
Interface IPartitionedTridentSpout.Coordinator<Partitions>

Enclosing interface:
IPartitionedTridentSpout<Partitions,Partition extends ISpoutPartition,T>

public static interface IPartitionedTridentSpout.Coordinator<Partitions>


Method Summary
 void close()
           
 Partitions getPartitionsForBatch()
          Return the partitions currently in the source of data.
 boolean isReady(long txid)
           
 

Method Detail

getPartitionsForBatch

Partitions getPartitionsForBatch()
Return the partitions currently in the source of data. The idea is is that if a new partition is added and a prior transaction is replayed, it doesn't emit tuples for the new partition because it knows what partitions were in that transaction.


isReady

boolean isReady(long txid)

close

void close()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.