public class PartitionEvent extends AbstractEvent<PartitionEvent.Type,Partition>
Modifier and Type | Class and Description |
---|---|
static class |
PartitionEvent.Type
Type of partition-related events.
|
Modifier | Constructor and Description |
---|---|
protected |
PartitionEvent(PartitionEvent.Type type,
Partition subject,
long time)
Creates an event of a given type and for the specified partition and time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
subject, time, toString, type
protected PartitionEvent(PartitionEvent.Type type, Partition subject, long time)
type
- partition event typesubject
- event partition subjecttime
- occurrence time