Package | Description |
---|---|
org.diirt.datasource.test |
Support for a data source that simulates various error conditions.
|
org.diirt.datasource.timecache | |
org.diirt.datasource.timecache.impl | |
org.diirt.datasource.timecache.query | |
org.diirt.datasource.timecache.storage | |
org.diirt.datasource.timecache.util | |
org.diirt.graphene | |
org.diirt.util.time |
Contains basic common classes to handle time at nanosecond precision.
|
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Timestamp> |
TimeMatchers.within(TimeInterval operand) |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
DataChunk.getInterval() |
TimeInterval |
DataRequestThread.getInterval() |
TimeInterval |
DataRequestStatistics.getInterval() |
Modifier and Type | Method and Description |
---|---|
List<DataRequestStatistics> |
PVCacheStatistics.getRequestStatsIn(TimeInterval interval) |
void |
PVCacheStatistics.intervalsCompleted(int requestID,
TimeInterval interval)
Setting interval when the request ends avoid managing changes due to
request optimization
|
void |
PVCacheListener.newDataInCache(SortedSet<Data> newData,
TimeInterval newDataInterval,
IntervalsList completedIntervals)
Informs that a new set of
Data is available in storage. |
DataRequestThread |
PVCache.retrieveDataAsync(TimeInterval interval)
Asynchronously retrieves samples from sources for the requested
TimeInterval and asynchronously requests DataStorage for
immediately available samples. |
DataRequestThread |
PVCacheImpl.retrieveDataAsync(TimeInterval newIntervalToRetrieve)
Asynchronously retrieves samples from sources for the requested
TimeInterval and asynchronously requests DataStorage for
immediately available samples. |
SortedSet<Data> |
PVCache.retrieveDataSync(TimeInterval interval)
Synchronously requests
DataStorage for immediately available
samples. |
SortedSet<Data> |
PVCacheImpl.retrieveDataSync(TimeInterval interval)
Synchronously requests
DataStorage for immediately available
samples. |
void |
DataRequestThread.setInterval(TimeInterval interval) |
void |
DataRequestStatistics.setInterval(TimeInterval interval) |
Constructor and Description |
---|
DataRequestThread(String channelName,
DataSource source,
TimeInterval interval) |
Modifier and Type | Method and Description |
---|---|
SortedSet<Data> |
SimpleMemoryStorage.getAvailableData(TimeInterval interval)
Returns all available
Data within the requested
TimeInterval . |
boolean |
SimpleMemoryStorage.hasAvailableData(TimeInterval interval)
Returns
true if some data is available within the requested
interval, false otherwise. |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
QueryImpl.getInterval() |
TimeInterval |
QueryStatistics.getInterval() |
TimeInterval |
QueryDataNR.getTimeInterval()
The time range where the data is defined
|
TimeInterval |
QueryChunk.getTimeInterval() |
TimeInterval |
QueryDataBlank.getTimeInterval()
The time range where the data is defined
|
TimeInterval |
QueryData.getTimeInterval()
The time range where the data is defined
|
TimeInterval |
QueryDataComplete.getTimeInterval()
The time range where the data is defined
|
Modifier and Type | Method and Description |
---|---|
void |
QueryImpl.newDataInCache(SortedSet<Data> newData,
TimeInterval newDataInterval,
IntervalsList completedIntervals)
Informs that a new set of
Data is available in storage. |
Constructor and Description |
---|
QueryChunk(TimeInterval timeInterval,
Query query) |
QueryStatistics(String channelName,
TimeInterval interval,
int queryID) |
Modifier and Type | Method and Description |
---|---|
SortedSet<Data> |
DataStorage.getAvailableData(TimeInterval interval)
Returns all available
Data within the requested
TimeInterval . |
boolean |
DataStorage.hasAvailableData(TimeInterval interval)
Returns
true if some data is available within the requested
interval, false otherwise. |
Modifier and Type | Method and Description |
---|---|
static TimeInterval |
CacheHelper.arrange(TimeInterval i)
Returns a re-arranged
TimeInterval if borders order is reversed. |
TimeInterval |
IntervalsList.getTimeInterval(int i)
Get an interval from the list.
|
static TimeInterval |
CacheHelper.intersection(TimeInterval i1,
TimeInterval i2)
Returns the result of
TimeInterval i1 & i2 intersection,
null if i1 does not intersects i2 (null border
means infinity). |
Modifier and Type | Method and Description |
---|---|
List<TimeInterval> |
IntervalsList.getIntervals()
Get the ordered list of disjoints intervals.
|
Modifier and Type | Method and Description |
---|---|
static IntervalsList |
IntervalsList.add(IntervalsList list,
TimeInterval i)
Add an intervals list and an interval.
|
void |
IntervalsList.addToSelf(TimeInterval i)
Add an interval to the instance.
|
static TimeInterval |
CacheHelper.arrange(TimeInterval i)
Returns a re-arranged
TimeInterval if borders order is reversed. |
boolean |
IntervalsList.contains(TimeInterval i)
Check if the list contains an interval.
|
static boolean |
CacheHelper.contains(TimeInterval i1,
TimeInterval i2)
Returns
true if TimeInterval i1 contains
TimeInterval i2, false otherwise (null
border means infinity). |
static String |
CacheHelper.format(TimeInterval i)
Returns a formated
String from the specified TimeInterval . |
static IntervalsList |
IntervalsList.intersection(IntervalsList list,
TimeInterval i)
Intersect a list and an interval.
|
static TimeInterval |
CacheHelper.intersection(TimeInterval i1,
TimeInterval i2)
Returns the result of
TimeInterval i1 & i2 intersection,
null if i1 does not intersects i2 (null border
means infinity). |
boolean |
IntervalsList.intersects(TimeInterval i)
Check if an interval intersects the instance.
|
static boolean |
CacheHelper.intersects(TimeInterval i1,
TimeInterval i2)
Returns
true if TimeInterval i1 intersects
TimeInterval i2, false otherwise (null
border means infinity). |
void |
IntervalsList.intersectSelf(TimeInterval i)
Intersects the instance and an interval.
|
static IntervalsList |
IntervalsList.subtract(IntervalsList list,
TimeInterval i)
Remove an interval from a list.
|
void |
IntervalsList.subtractFromSelf(TimeInterval i)
Remove an interval from the list.
|
Constructor and Description |
---|
IntervalsList(TimeInterval i)
Build an intervals list containing only one interval.
|
IntervalsList(TimeInterval i1,
TimeInterval i2)
Build an intervals list containing two intervals.
|
Modifier and Type | Method and Description |
---|---|
TimeInterval |
TimeAxisRange.axisRange(TimeInterval dataRange,
TimeInterval aggregatedRange) |
TimeInterval |
TemporalGraph2DRenderer.getAggregatedTimeInterval()
The aggregated range of all the data that has been rendered.
|
TimeInterval |
TemporalGraph2DRenderer.getPlotTimeInterval()
The range of the y axis in the last graph rendering.
|
TimeInterval |
TimeSeriesDataset.getTimeInterval()
The interval of time where the data is defined.
|
TimeInterval |
TimeAxis.getTimeInterval() |
Modifier and Type | Method and Description |
---|---|
static TimeAxisRange |
TimeAxisRanges.absolute(TimeInterval timeInterval) |
TimeInterval |
TimeAxisRange.axisRange(TimeInterval dataRange,
TimeInterval aggregatedRange) |
protected void |
TemporalGraph2DRenderer.calculateRanges(Range valueRange,
TimeInterval timeInterval) |
ListNumber |
TimeSeriesDataset.getNormalizedTime(TimeInterval normalizationRange)
Returns the time normalized within the range of the dataset.
|
TimeAxis |
TimeScale.references(TimeInterval range,
int minRefs,
int maxRefs) |
double |
TimeScale.scaleTimestamp(Timestamp value,
TimeInterval timeInterval,
double newMinValue,
double newMaxValue) |
Constructor and Description |
---|
TimeAxis(TimeInterval timeInterval,
List<Timestamp> timeStamps,
ListDouble normalizedValues,
List<String> tickLabels) |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
TimeDuration.after(Timestamp reference)
Returns a time interval that lasts this duration and starts from the
given timestamp.
|
TimeInterval |
TimeDuration.around(Timestamp reference)
Returns a time interval that lasts this duration and is centered
around the given timestamp.
|
TimeInterval |
TimeDuration.before(Timestamp reference)
Returns a time interval that lasts this duration and ends at the
given timestamp.
|
static TimeInterval |
TimeInterval.between(Timestamp start,
Timestamp end)
Returns the interval between the given timestamps.
|
static TimeInterval |
TimeParser.getTimeInterval(String time) |
static TimeInterval |
TimeParser.getTimeInterval(String start,
String end) |
TimeInterval |
TimeInterval.minus(TimeDuration duration)
Returns a new interval shifted backward in time by the given duration.
|
TimeInterval |
TimeRelativeInterval.toAbsoluteInterval(Timestamp reference) |
Copyright © 2015. All rights reserved.