T
- the type of the expressionpublic class PVReaderConfiguration<T> extends Object
Modifier and Type | Method and Description |
---|---|
PVReader<T> |
every(TimeDuration period)
Deprecated.
|
PVReaderConfiguration<T> |
from(DataSource dataSource)
Defines which DataSource should be used to read the data.
|
PVReader<T> |
maxRate(org.epics.util.time.TimeDuration rate)
Sets the rate of scan of the expression and creates the actual
PVReader
object that can be monitored through listeners. |
PVReaderConfiguration<T> |
notifyOn(Executor onThread)
Defines on which thread the PVManager should notify the client.
|
PVReaderConfiguration<T> |
routeExceptionsTo(ExceptionHandler exceptionHandler)
Forwards exception to the given exception handler.
|
PVReaderConfiguration<T> |
timeout(org.epics.util.time.TimeDuration timeout) |
PVReaderConfiguration<T> |
timeout(TimeDuration timeout)
Deprecated.
|
PVReaderConfiguration<T> |
timeout(org.epics.util.time.TimeDuration timeout,
String timeoutMessage) |
PVReaderConfiguration<T> |
timeout(TimeDuration timeout,
String timeoutMessage)
Deprecated.
|
public PVReaderConfiguration<T> from(DataSource dataSource)
dataSource
- a connection managerpublic PVReaderConfiguration<T> notifyOn(Executor onThread)
onThread
- the thread on which to notifypublic PVReaderConfiguration<T> timeout(org.epics.util.time.TimeDuration timeout)
public PVReaderConfiguration<T> timeout(org.epics.util.time.TimeDuration timeout, String timeoutMessage)
@Deprecated public PVReaderConfiguration<T> timeout(TimeDuration timeout)
@Deprecated public PVReaderConfiguration<T> timeout(TimeDuration timeout, String timeoutMessage)
public PVReaderConfiguration<T> routeExceptionsTo(ExceptionHandler exceptionHandler)
Giving a custom exception handler will disable the default handler,
so PVReader.lastException()
is no longer set and no notification
is done.
exceptionHandler
- an exception handlerpublic PVReader<T> maxRate(org.epics.util.time.TimeDuration rate)
PVReader
object that can be monitored through listeners.rate
- the minimum time distance (i.e. the maximum rate) between two different notifications@Deprecated public PVReader<T> every(TimeDuration period)
PVReader
object that can be monitored through listeners.period
- the minimum time distance (i.e. the maximum rate) at which notifications should be sentCopyright © 2012. All Rights Reserved.