Class LocationResource
- java.lang.Object
-
- org.onebusaway.watchdog.api.MetricResource
-
- org.onebusaway.watchdog.api.realtime.LocationResource
-
@Path("/metric/realtime/location") public class LocationResource extends MetricResource
-
-
Field Summary
-
Fields inherited from class org.onebusaway.watchdog.api.MetricResource
_configuration, _log, _mapper
-
-
Constructor Summary
Constructors Constructor Description LocationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetInvalidLatLonCount(String agencyId, String feedId)javax.ws.rs.core.ResponsegetInvalidLatLons(String agencyId, String feedId)javax.ws.rs.core.ResponsegetTotalLatLonCount(String agencyId, String feedId)-
Methods inherited from class org.onebusaway.watchdog.api.MetricResource
error, error, getAddedTripIdCt, getCancelledTripIdCt, getDataSources, getInvalidLocation, getLocationTotal, getMatchedStopCt, getScheduledTrips, getScheduledTrips, getTDS, getTotalRecordCount, getUnmatchedStopCt, getUnmatchedTripIdCt, getValidRealtimeTripIds, ok, setMetricConfiguration
-
-
-
-
Method Detail
-
getTotalLatLonCount
@Path("{agencyId}/total") @GET @Produces("application/json") public javax.ws.rs.core.Response getTotalLatLonCount(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getInvalidLatLonCount
@Path("{agencyId}/invalid") @GET @Produces("application/json") public javax.ws.rs.core.Response getInvalidLatLonCount(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
-