|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.EventReceiver
com.bigdata.counters.httpd.DummyEventReportingService
public class DummyEventReportingService
A dummy implementation of the IEventReportingService interface, used
for testing the HTTP telemtry service.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.bigdata.service.EventReceiver |
|---|
EventReceiver.EventBTree |
| Field Summary |
|---|
| Fields inherited from class com.bigdata.service.EventReceiver |
|---|
eventCache, eventHistoryMillis, log, ndx |
| Constructor Summary | |
|---|---|
DummyEventReportingService()
Construct with an empty set of events |
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy the service. |
String |
getHostname()
The host on which this service is running. |
Class |
getServiceIface()
Return the most interesting interface for the service. |
String |
getServiceName()
Return name by which a user might recognize this service. |
UUID |
getServiceUUID()
The unique identifier for this service. |
void |
readCSV(BufferedReader reader)
Parse a CSV file into a LinkedHashMap of events. |
| Methods inherited from class com.bigdata.service.EventReceiver |
|---|
getWriteLock, logEvent, notifyEvent, pruneHistory, rangeCount, rangeIterator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyEventReportingService()
| Method Detail |
|---|
public void readCSV(BufferedReader reader)
throws IOException
Event.getHeader().
reader - a reader for the CSV file
IOException
public String getHostname()
throws IOException
IService
getHostname in interface IServiceIOException - since you can use this method with RMI.
public Class getServiceIface()
throws IOException
IService
getServiceIface in interface IServiceIOException - since you can use this method with RMI.
public String getServiceName()
throws IOException
IService
getServiceName in interface IServiceIOException - since you can use this method with RMI.
public UUID getServiceUUID()
throws IOException
IService
Note: Some service discovery frameworks (Jini) will assign the service a
UUID asynchronously after a new service starts, in which case
this method will return null until the service
UUID has been assigned.
getServiceUUID in interface IServiceIOException - since you can use this method with RMI.public void destroy()
IServiceDestroyAdmin.destroy().
destroy in interface IService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||