net.esper.schedule
Class ScheduleSlot

java.lang.Object
  extended by net.esper.schedule.ScheduleSlot
All Implemented Interfaces:
java.lang.Comparable<ScheduleSlot>

public class ScheduleSlot
extends java.lang.Object
implements java.lang.Comparable<ScheduleSlot>

This class is a slot in a ScheduleBucket for sorting schedule service callbacks.


Constructor Summary
ScheduleSlot(int bucketNum, int slotNum)
          Ctor.
 
Method Summary
 int compareTo(ScheduleSlot scheduleCallbackSlot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleSlot

public ScheduleSlot(int bucketNum,
                    int slotNum)
Ctor.

Parameters:
bucketNum - is the number of the bucket the slot belongs to
slotNum - is the slot number for ordering within the bucket
Method Detail

compareTo

public int compareTo(ScheduleSlot scheduleCallbackSlot)
Specified by:
compareTo in interface java.lang.Comparable<ScheduleSlot>