|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimedEventStatusProvider
This service provides the current timed events status.
Field Summary | |
---|---|
static String |
PROPERTY_EVENT_ID
This is a unique identifer which can be used to cancel the job. |
Method Summary | |
---|---|
void |
cancelTimedEvent(String jobId)
Cancel this timed event. |
org.osgi.service.event.Event |
getScheduledEvent(String topic,
String eventId,
String jobId)
Return the scheduled event with the given id. |
Collection<org.osgi.service.event.Event> |
getScheduledEvents(String topic,
Map<String,Object>... filterProps)
Return a list of currently schedulded events. |
Field Detail |
---|
static final String PROPERTY_EVENT_ID
Method Detail |
---|
Collection<org.osgi.service.event.Event> getScheduledEvents(String topic, Map<String,Object>... filterProps)
topic
- Topic can be used as a filter, if it is non-null, only jobs with this topic will be returned.filterProps
- A list of filter property maps. Each map acts like a template. The searched event
must match the template (AND query). By providing several maps, different filters
are possible (OR query).
org.osgi.service.event.Event getScheduledEvent(String topic, String eventId, String jobId)
void cancelTimedEvent(String jobId)
jobId
- The unique identifer as found in the property PROPERTY_EVENT_ID
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |