public class DummyEventReportingService extends EventReceiver implements IService
IEventReportingService interface, used
for testing the HTTP telemtry service.EventReceiver.EventBTreeeventCache, eventHistoryMillis, log, ndx| Constructor and Description |
|---|
DummyEventReportingService()
Construct with an empty set of events
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getWriteLock, logEvent, notifyEvent, pruneHistory, rangeCount, rangeIteratorpublic DummyEventReportingService()
public void readCSV(BufferedReader reader) throws IOException
Event.getHeader().reader - a reader for the CSV fileIOExceptionpublic String getHostname() throws IOException
IServicegetHostname in interface IServiceIOException - since you can use this method with RMI.public Class getServiceIface() throws IOException
IServicegetServiceIface in interface IServiceIOException - since you can use this method with RMI.public String getServiceName() throws IOException
IServicegetServiceName 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.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.