public class EventsResource extends Object
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getEventsQueueLength()
Returns number of events currently in the queue
|
javax.ws.rs.core.Response |
recordEvents(Application.Name applicationName,
Experiment.Label experimentLabel,
User.ID userID,
EventList eventList)
Submit events for the specified user within the context of a specific
application and experiment.
|
javax.ws.rs.core.Response |
recordExperimentsEvents(Application.Name applicationName,
User.ID userID,
Map<Experiment.Label,Map<User.ID,List<Event>>> eventList)
Submit events for users and experiments within the context of a
specific application.
|
javax.ws.rs.core.Response |
recordUsersEvents(Application.Name applicationName,
Experiment.Label experimentLabel,
Map<User.ID,List<Event>> eventList)
Submit events for users within the context of a specific application
and experiment.
|
@Timed public javax.ws.rs.core.Response recordEvents(Application.Name applicationName, Experiment.Label experimentLabel, User.ID userID, EventList eventList) throws Exception
@Timed public javax.ws.rs.core.Response recordUsersEvents(Application.Name applicationName, Experiment.Label experimentLabel, Map<User.ID,List<Event>> eventList)
applicationName
- the application nameexperimentLabel
- the experiment labeleventList
- the EventList
event listUnsupportedOperationException
- UnsupportedOperationException@Timed public javax.ws.rs.core.Response recordExperimentsEvents(Application.Name applicationName, User.ID userID, Map<Experiment.Label,Map<User.ID,List<Event>>> eventList)
applicationName
- the application nameuserID
- the user ideventList
- the EventList
event listUnsupportedOperationException
- always throws@Timed public javax.ws.rs.core.Response getEventsQueueLength()
Copyright © 2016. All rights reserved.