|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartitionMetadata
Denotes information describing a partition. This information is available to partitioners so that they can assign based on current state of partition themselves (i.e. parallel queues). This allows support for load balancing and other context sensitive decisions.
| Method Summary | |
|---|---|
long |
getCurrentSize()
Returns the number of events currently in the partition. |
int |
getPartitionNumber()
Returns the number of the partition to which the metadata applies. |
| Method Detail |
|---|
int getPartitionNumber()
long getCurrentSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||