|
||||||||||
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 java.lang.String |
PROPERTY_EVENT_ID
This is a unique identifer which can be used to cancel the job. |
Method Summary | |
---|---|
void |
cancelTimedEvent(java.lang.String jobId)
Cancel this timed event. |
org.osgi.service.event.Event |
getScheduledEvent(java.lang.String topic,
java.lang.String eventId,
java.lang.String jobId)
Return the scheduled event with the given id. |
java.util.Collection<org.osgi.service.event.Event> |
getScheduledEvents(java.lang.String topic,
java.util.Map<java.lang.String,java.lang.Object>... filterProps)
Return a list of currently schedulded events. |
Field Detail |
---|
static final java.lang.String PROPERTY_EVENT_ID
Method Detail |
---|
java.util.Collection<org.osgi.service.event.Event> getScheduledEvents(java.lang.String topic, java.util.Map<java.lang.String,java.lang.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(java.lang.String topic, java.lang.String eventId, java.lang.String jobId)
void cancelTimedEvent(java.lang.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 |