storm.kafka
Class Partition

java.lang.Object
  extended by storm.kafka.Partition
All Implemented Interfaces:
ISpoutPartition

public class Partition
extends Object
implements ISpoutPartition


Field Summary
 Broker host
           
 int partition
           
 
Constructor Summary
Partition(Broker host, int partition)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

host

public Broker host

partition

public int partition
Constructor Detail

Partition

public Partition(Broker host,
                 int partition)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getId

public String getId()
Specified by:
getId in interface ISpoutPartition


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