This interface is deprecated.
Instead use
TripModelManager
.
Use
getTrip(String)
to get a ConsumerTrip object used to monitor that trip.
Manages active trips for Journey Sharing.
Public Method Summary
abstract Set<ConsumerTrip> |
getActiveTrips()
This method is deprecated. Instead use
TripModelManager.getActiveTripModels() .
|
abstract Set<ConsumerTrip> |
getAllTrips()
This method is deprecated. Instead use
TripModelManager.getAllTripModels() .
|
abstract ConsumerTrip |
getTrip(String
tripName)
This method is deprecated. Instead use
TripModelManager.getTripModel(String) .
|
Inherited Method Summary
Public Methods
public abstract Set<ConsumerTrip> getActiveTrips ()
This method is deprecated.
Instead use
TripModelManager.getActiveTripModels()
.
Returns the set of all trips that are active. A trip that is "active" means it has at least one callback registered and is receiving updates from Fleet Engine.
public abstract Set<ConsumerTrip> getAllTrips ()
This method is deprecated.
Instead use
TripModelManager.getAllTripModels()
.
Returns the set of all trips managed by ConsumerTripManager that is active or has a strong reference. If there are no active strong references to an inactive trip, the trip object may be garbage collected.
public abstract ConsumerTrip getTrip (String tripName)
This method is deprecated.
Instead use
TripModelManager.getTripModel(String)
.
Returns the ConsumerTrip object that can be used to track the given tripName. Will return an existing ConsumerTrip object for the given trip name when possible.
Parameters
tripName | Name of the trip the returned object will track. |
---|
Returns
- ConsumerTrip object