org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventSLBImpl

java.lang.Object
  extended by org.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventSLBImpl
All Implemented Interfaces:
JasmineEventSLBRemote

public class JasmineEventSLBImpl
extends Object
implements JasmineEventSLBRemote

Implementation of the JasmineEvent stateless bean.


Constructor Summary
JasmineEventSLBImpl()
           
 
Method Summary
 org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(Collection<String> servers, Collection<String> probes, Date from, Date to, String orderBy, int index, int limit)
          Gets the events corresponding to a given filter.
 org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(String domain, String server, String source, String probe, String value, Date startTimestamp, Date endTimestamp, String orderBy, int limit)
          Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.
 org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(String domain, String server, String source, String probe, String value, Date startTimestamp, Date endTimestamp, String orderBy, int indexFirstResult, int limit)
          Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.
 void saveEvent(org.ow2.jasmine.event.beans.JasmineEventEB e)
          Implementation of inherited method: creates the JasmineEvent entity bean corresponding to given datum and saves an event on the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasmineEventSLBImpl

public JasmineEventSLBImpl()
Method Detail

saveEvent

public void saveEvent(org.ow2.jasmine.event.beans.JasmineEventEB e)
Implementation of inherited method: creates the JasmineEvent entity bean corresponding to given datum and saves an event on the database.

Specified by:
saveEvent in interface JasmineEventSLBRemote
Parameters:
e - Event to save.
See Also:
JasmineEventSLBRemote.saveEvent(JasmineEventEB)

getEvents

public org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(Collection<String> servers,
                                                              Collection<String> probes,
                                                              Date from,
                                                              Date to,
                                                              String orderBy,
                                                              int index,
                                                              int limit)
Gets the events corresponding to a given filter. This method is used by the "replay from database" monitoring facility.

Specified by:
getEvents in interface JasmineEventSLBRemote
Parameters:
servers - Name of the probed servers.
probes - Probes
from - Probe time bigger than.
to - Probe time smaller than.
orderBy - Order using column.
index - Set the index (position) of the first result to retrieve (start at 0).
limit - Maximal number of results to get.
Returns:
Events corresponding to the given search, null if none found.

getEvents

public org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(String domain,
                                                              String server,
                                                              String source,
                                                              String probe,
                                                              String value,
                                                              Date startTimestamp,
                                                              Date endTimestamp,
                                                              String orderBy,
                                                              int limit)
Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.

Specified by:
getEvents in interface JasmineEventSLBRemote
Parameters:
domain - Domain of the probed server.
server - Name of the probed servers.
source - Event source (for example, JProbe or JMX).
probe - Probes type.
value - Probed value.
startTimestamp - Probe time bigger than.
endTimestamp - Probe time smaller than.
orderBy - Order using column.
limit - Maximal number of results to get.
Returns:
Events corresponding to the given search, null if none found.
See Also:
JasmineEventSLBRemote.getEvents(String, String, String, String, String, Date, Date, String, int)

getEvents

public org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(String domain,
                                                              String server,
                                                              String source,
                                                              String probe,
                                                              String value,
                                                              Date startTimestamp,
                                                              Date endTimestamp,
                                                              String orderBy,
                                                              int indexFirstResult,
                                                              int limit)
Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.

Specified by:
getEvents in interface JasmineEventSLBRemote
Parameters:
domain - Domain of the probed server.
server - Name of the probed servers.
source - Event source (for example, JProbe or JMX).
probe - Probes type.
value - Probed value.
startTimestamp - Probe time bigger than.
endTimestamp - Probe time smaller than.
orderBy - Order using column.
indexFirstResult - Set the index (position) of the first result to retrieve (start at 0).
limit - Maximal number of results to get.
Returns:
Events corresponding to the given search, null if none found.
See Also:
JasmineEventSLBRemote.getEvents(String, String, String, String, String, Date, Date, String, int, int)


Copyright © 2012 OW2 Consortium. All Rights Reserved.