Package org.onosproject.store.primitives
Class PartitionEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<PartitionEvent.Type,Partition>
-
- org.onosproject.store.primitives.PartitionEvent
-
- All Implemented Interfaces:
Event<PartitionEvent.Type,Partition>
public class PartitionEvent extends AbstractEvent<PartitionEvent.Type,Partition>
Describes partition-related event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PartitionEvent.Type
Type of partition-related events.
-
Constructor Summary
Constructors Modifier Constructor Description protected
PartitionEvent(PartitionEvent.Type type, Partition subject, long time)
Creates an event of a given type and for the specified partition and time.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type
-
-
-
-
Constructor Detail
-
PartitionEvent
protected PartitionEvent(PartitionEvent.Type type, Partition subject, long time)
Creates an event of a given type and for the specified partition and time.- Parameters:
type
- partition event typesubject
- event partition subjecttime
- occurrence time
-
-