[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This class acts as a buckets for sorting schedule service callbacks that are scheduled to occur at the same time. Each buckets constists of net.esper.schedule.ScheduleSlot slots that callbacks are assigned to.

At the time of timer evaluation, callbacks that become triggerable are ordered using the bucket as the first-level order, and slot as the second-level order.

Each statement at statement creation time allocates a buckets, and each timer within the statement allocates a slot. Thus statements that depend on other statements (such as for insert-into), and timers within their statement (such as time window or output rate limit timers) behave deterministically.

The following tables list the members exposed by the ScheduleBucket type.

Public Methods

  NameDescription
AllocateSlot
Returns a new slot in the bucket.

Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Restart
Restart bucket slot numbering wuch as when a statement is reStarted and new slots are allocated.

ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
ScheduleBucketNew
Ctor.