private final class RegistrarImpl.EventTask extends Object implements TaskManager.Task
Modifier and Type | Field and Description |
---|---|
Item |
item
The new state of the item, or null if deleted
|
RegistrarImpl.EventReg |
reg
The event registration
|
long |
seqNo
The sequence number of this event
|
ServiceID |
sid
The service id
|
int |
transition
The transition that fired
|
Constructor and Description |
---|
RegistrarImpl.EventTask(RegistrarImpl.EventReg reg,
ServiceID sid,
Item item,
int transition)
Simple constructor, except increments reg.seqNo.
|
public final RegistrarImpl.EventReg reg
public final long seqNo
public final ServiceID sid
public final Item item
public final int transition
public RegistrarImpl.EventTask(RegistrarImpl.EventReg reg, ServiceID sid, Item item, int transition)
public boolean runAfter(List tasks, int size)
runAfter
in interface TaskManager.Task
tasks
- the tasks to consider. A read-only List, with all
elements instanceof Task.size
- elements with index less than size should be consideredCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.