net.esper.schedule
Class ScheduleSlot
java.lang.Object
net.esper.schedule.ScheduleSlot
- All Implemented Interfaces:
- Serializable, Comparable<ScheduleSlot>, MetaDefItem
public class ScheduleSlot
- extends Object
- implements Comparable<ScheduleSlot>, MetaDefItem
This class is a slot in a ScheduleBucket
for sorting schedule service callbacks.
- See Also:
- Serialized Form
Constructor Summary |
ScheduleSlot(int bucketNum,
int slotNum)
Ctor. |
ScheduleSlot
public ScheduleSlot(int bucketNum,
int slotNum)
- Ctor.
- Parameters:
bucketNum
- is the number of the bucket the slot belongs toslotNum
- is the slot number for ordering within the bucket
compareTo
public int compareTo(ScheduleSlot scheduleCallbackSlot)
- Specified by:
compareTo
in interface Comparable<ScheduleSlot>
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object