net.esper.schedule
Class ScheduleSlot
java.lang.Object
net.esper.schedule.ScheduleSlot
- All Implemented Interfaces:
- 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.
Constructor Summary |
ScheduleSlot(int bucketNum,
int slotNum)
Ctor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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>