446 |
* In the coalescing mode, a single event is fired as a replacement |
* In the coalescing mode, a single event is fired as a replacement |
447 |
* for all queued events. In non coalescing mode, a series of |
* for all queued events. In non coalescing mode, a series of |
448 |
* all queued events is fired. |
* all queued events is fired. |
449 |
|
* This is package-private to avoid an accessor method. |
450 |
*/ |
*/ |
451 |
private void drainEvents() |
void drainEvents() |
452 |
{ |
{ |
453 |
synchronized (queueLock) |
synchronized (queueLock) |
454 |
{ |
{ |
471 |
|
|
472 |
/** |
/** |
473 |
* Post a scheduled event to the event queue. |
* Post a scheduled event to the event queue. |
474 |
|
* Package-private to avoid an accessor method. |
475 |
*/ |
*/ |
476 |
private void queueEvent() |
void queueEvent() |
477 |
{ |
{ |
478 |
synchronized (queueLock) |
synchronized (queueLock) |
479 |
{ |
{ |