Package | Description |
---|---|
org.diirt.datasource |
|
org.diirt.datasource.extra |
This package contains experimental classes that, once stable, will
be deprecated and moved into more official packages.
|
org.diirt.datasource.integration | |
org.diirt.datasource.test |
Support for a data source that simulates various error conditions.
|
org.diirt.datasource.timecache | |
org.diirt.datasource.timecache.query | |
org.diirt.datasource.timecache.util | |
org.diirt.datasource.vtype |
Support for control system types.
|
org.diirt.util.time |
Contains basic common classes to handle time at nanosecond precision.
|
Modifier and Type | Method and Description |
---|---|
PV<R,W> |
PVConfiguration.asynchWriteAndMaxReadRate(TimeDuration period)
Creates the pv such that writes are asynchronous and read notifications
comes at most at the rate specified.
|
PVReader<T> |
PVReaderConfiguration.maxRate(TimeDuration rate)
Sets the rate of scan of the expression and creates the actual
PVReader
object that can be monitored through listeners. |
PV<R,W> |
PVConfiguration.synchWriteAndMaxReadRate(TimeDuration period)
Creates the pv such that writes are synchronous and read notifications
comes at most at the rate specified.
|
PVWriterConfiguration<T> |
PVWriterConfiguration.timeout(TimeDuration timeout)
Sets a timeout for write operation.
|
PVReaderConfiguration<T> |
PVReaderConfiguration.timeout(TimeDuration timeout)
Sets a timeout for no values received.
|
PVConfiguration<R,W> |
PVConfiguration.timeout(TimeDuration timeout)
Sets a timeout for both reader and writer.
|
PVWriterConfiguration<T> |
PVWriterConfiguration.timeout(TimeDuration timeout,
String timeoutMessage)
Sets a timeout for write operations.
|
PVReaderConfiguration<T> |
PVReaderConfiguration.timeout(TimeDuration timeout,
String timeoutMessage)
Sets a timeout for no values received with the given message.
|
PVConfiguration<R,W> |
PVConfiguration.timeout(TimeDuration timeout,
String timeoutMessage)
Sets a timeout with the given message for both read and writer.
|
PVConfiguration<R,W> |
PVConfiguration.timeout(TimeDuration timeout,
String readMessage,
String writeMessage)
Specifies a timeout, with a different message for the read and the write.
|
Modifier and Type | Method and Description |
---|---|
TimeDuration |
WaterfallPlotParameters.getPixelDuration()
Time interval for each line.
|
Modifier and Type | Method and Description |
---|---|
static WaterfallPlotParameters |
WaterfallPlotParameters.pixelDuration(TimeDuration pixelDuration)
How much time should be allocated to each line of the plot.
|
Modifier and Type | Method and Description |
---|---|
protected <T> TestPhase |
TestPhase.addReader(PVReaderConfiguration<T> reader,
TimeDuration maxRate) |
Modifier and Type | Method and Description |
---|---|
static TimeDuration |
ThreadTestingUtil.waitForValue(PVReader<?> pvReader,
TimeDuration timeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
CountDownPVReaderListener.await(TimeDuration duration)
Waits that the listener count goes to zero.
|
boolean |
CountDownWriteFunction.await(TimeDuration duration)
Waits that the listener count goes to zero.
|
boolean |
CountDownPVWriterListener.await(TimeDuration duration)
Waits that the listener count goes to zero.
|
static <T> T |
ThreadTestingUtil.waitFor(Callable<T> task,
TimeDuration timeout)
Waits until either the task returns a value or the timeout expires.
|
static TimeDuration |
ThreadTestingUtil.waitForValue(PVReader<?> pvReader,
TimeDuration timeout) |
Modifier and Type | Method and Description |
---|---|
TimeDuration |
DataRequestStatistics.getDuration() |
TimeDuration |
CacheConfig.getRetrievalGap() |
Modifier and Type | Method and Description |
---|---|
void |
CacheConfig.setRetrievalGap(TimeDuration retrievalGap) |
void |
PVCacheImpl.setRetrievalGap(TimeDuration retrievalGap) |
Modifier and Type | Method and Description |
---|---|
TimeDuration |
QueryStatistics.getDuration() |
Modifier and Type | Field and Description |
---|---|
static TimeDuration |
IntervalsList.minDuration |
Modifier and Type | Method and Description |
---|---|
static String |
CacheHelper.format(TimeDuration d)
Returns a formated
String from the specified TimeDuration . |
void |
TimestampsSet.setTolerance(TimeDuration tolerance)
Set the
TimeDuration used to define the minimum duration of
generated TimeInterval . |
Modifier and Type | Method and Description |
---|---|
static DesiredRateExpression<VMultiDouble> |
ExpressionLanguage.synchronizedArrayOf(TimeDuration tolerance,
SourceRateExpressionList<VDouble> expressions)
A synchronized array from the given expression.
|
static DesiredRateExpression<VMultiDouble> |
ExpressionLanguage.synchronizedArrayOf(TimeDuration tolerance,
TimeDuration cacheDepth,
SourceRateExpressionList<VDouble> expressions)
A synchronized array from the given expression.
|
static <T extends Time> |
ExpressionLanguage.timedCacheOf(SourceRateExpression<T> expression,
TimeDuration maxIntervalBetweenSamples)
Returns all the values starting the latest value and older up to
the time difference given by the interval.
|
Modifier and Type | Method and Description |
---|---|
TimeDuration |
TimeDuration.dividedBy(int factor)
Returns a new duration which is smaller by the given factor.
|
TimeDuration |
Timestamp.durationBetween(Timestamp time)
Calculates the time between the reference and this timeStamp.
|
TimeDuration |
Timestamp.durationFrom(Timestamp reference)
Calculates the time passed from the reference to this timeStamp.
|
TimeDuration |
TimeRelativeInterval.getRelativeEnd() |
TimeDuration |
TimeRelativeInterval.getRelativeStart() |
static TimeDuration |
TimeParser.getTimeDuration(String time) |
TimeDuration |
TimeDuration.minus(TimeDuration duration)
Returns the difference between this duration and the given.
|
TimeDuration |
TimeDuration.multipliedBy(int factor)
Returns a new duration which is bigger by the given factor.
|
static TimeDuration |
TimeDuration.ofHertz(double hz)
A new duration in hertz, will convert to the length of the period.
|
static TimeDuration |
TimeDuration.ofHours(double hour)
A new duration in hours.
|
static TimeDuration |
TimeDuration.ofMillis(int ms)
A new duration in milliseconds.
|
static TimeDuration |
TimeDuration.ofMinutes(double min)
A new duration in minutes.
|
static TimeDuration |
TimeDuration.ofNanos(long nanoSec)
A new duration in nanoseconds.
|
static TimeDuration |
TimeDuration.ofSeconds(double sec)
A new duration in seconds.
|
TimeDuration |
TimeDuration.plus(TimeDuration duration)
Returns the sum of this duration with the given.
|
Modifier and Type | Method and Description |
---|---|
int |
TimeDuration.compareTo(TimeDuration other) |
int |
TimeDuration.dividedBy(TimeDuration duration)
Returns the number of times the given duration is present in this duration.
|
Timestamp |
Timestamp.minus(TimeDuration duration)
Subtracts the given duration to this timestamp and returns the result.
|
TimeInterval |
TimeInterval.minus(TimeDuration duration)
Returns a new interval shifted backward in time by the given duration.
|
TimeDuration |
TimeDuration.minus(TimeDuration duration)
Returns the difference between this duration and the given.
|
Timestamp |
Timestamp.plus(TimeDuration duration)
Adds the given duration to this timestamp and returns the result.
|
TimeDuration |
TimeDuration.plus(TimeDuration duration)
Returns the sum of this duration with the given.
|
Copyright © 2015. All rights reserved.