public abstract class BaseCompositeAvailability extends Object implements Availability
Modifier | Constructor and Description |
---|---|
protected |
BaseCompositeAvailability(Stream<Availability> availabilityStream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<String,SimplifiedIntervalList> |
getAllAvailableIntervals()
Retrieve all available intervals for all data source fields across all the underlying datasources.
|
protected Stream<Availability> |
getAllSourceAvailabilities()
Return a stream of all the availabilities which this availability composites from.
|
Set<DataSourceName> |
getDataSourceNames()
The names of the data sources backing this availability.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAvailableIntervals, getAvailableIntervals, getAvailableIntervals, getDataSourceNames, getDataSourceNames
protected BaseCompositeAvailability(Stream<Availability> availabilityStream)
availabilityStream
- A potentially ordered stream of availabilities which supply this composite viewprotected Stream<Availability> getAllSourceAvailabilities()
public Set<DataSourceName> getDataSourceNames()
Availability
getDataSourceNames
in interface Availability
public Map<String,SimplifiedIntervalList> getAllAvailableIntervals()
Available intervals for the same underlying names are unioned into a SimplifiedIntervalList
getAllAvailableIntervals
in interface Availability
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.