| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventContext
| Field Summary | |
|---|---|
static int | 
MINIMUM_POLLING_INTERVAL
Minimum polling interval, in seconds.  | 
| Method Summary | |
|---|---|
 org.hyperic.sigar.SigarProxy | 
getSigar()
Gets an instance of Sigar.  | 
 void | 
publishEvent(Event event)
Publishes the specified Event.  | 
 void | 
registerEventPoller(EventPoller poller,
                    int pollingInterval)
Tells the plugin container to start polling for Events using the specified EventPoller.  | 
 void | 
registerEventPoller(EventPoller poller,
                    int pollingInterval,
                    String sourceLocation)
Tells the plugin container to start polling the specified source for Events using the specified EventPoller.  | 
 void | 
unregisterEventPoller(String eventType)
Tells the plugin container to stop polling for Events of the specified type (i.e.  | 
 void | 
unregisterEventPoller(String eventType,
                      String sourceLocation)
Tells the plugin container to stop polling the specified source for Events of the specified type (i.e.  | 
| Field Detail | 
|---|
static final int MINIMUM_POLLING_INTERVAL
| Method Detail | 
|---|
void publishEvent(@NotNull
                  Event event)
event - the Event to be published
void registerEventPoller(@NotNull
                         EventPoller poller,
                         int pollingInterval)
poller - the poller that will be usedpollingInterval - the number of seconds to wait between polls. If the value less than
                        MINIMUM_POLLING_INTERVAL is specified, MINIMUM_POLLING_INTERVAL will be
                        used instead.
void registerEventPoller(@NotNull
                         EventPoller poller,
                         int pollingInterval,
                         @NotNull
                         String sourceLocation)
poller - the poller that will be usedpollingInterval - the number of seconds to wait between polls. If the value less than
                        MINIMUM_POLLING_INTERVAL is specified, MINIMUM_POLLING_INTERVAL will besourceLocation - the location of the source to start polling
void unregisterEventPoller(@NotNull
                           String eventType)
EventDefinition name).
eventType - the type of Event to stop polling for
void unregisterEventPoller(@NotNull
                           String eventType,
                           @NotNull
                           String sourceLocation)
EventDefinition name).
eventType - the type of Event to stop polling forsourceLocation - the location of the source to stop polling@Nullable org.hyperic.sigar.SigarProxy getSigar()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||