R
- the read payloadW
- the write payloadpublic class PVConfiguration<R,W> extends Object
Modifier and Type | Method and Description |
---|---|
PV<R,W> |
asynchWriteAndMaxReadRate(org.epics.util.time.TimeDuration period)
Creates the pv such that writes are asynchronous and read notifications
comes at most at the rate specified.
|
PV<R,W> |
asynchWriteAndReadEvery(TimeDuration period)
Deprecated.
|
PVConfiguration<R,W> |
from(DataSource dataSource)
Defines which DataSource should be used to read the data.
|
PVConfiguration<R,W> |
notifyOn(Executor onThread)
Defines on which thread the PVManager should notify the client.
|
PVConfiguration<R,W> |
routeExceptionsTo(ExceptionHandler exceptionHandler)
Forwards exception to the given exception handler.
|
PV<R,W> |
synchWriteAndMaxReadRate(org.epics.util.time.TimeDuration period)
Creates the pv such that writes are synchronous and read notifications
comes at most at the rate specified.
|
PV<R,W> |
synchWriteAndReadEvery(TimeDuration period)
Deprecated.
|
PVConfiguration<R,W> |
timeout(org.epics.util.time.TimeDuration timeout) |
PVConfiguration<R,W> |
timeout(TimeDuration timeout)
Deprecated.
|
PVConfiguration<R,W> |
timeout(org.epics.util.time.TimeDuration timeout,
String timeoutMessage) |
PVConfiguration<R,W> |
timeout(TimeDuration timeout,
String timeoutMessage)
Deprecated.
|
PVConfiguration<R,W> |
timeout(org.epics.util.time.TimeDuration timeout,
String readMessage,
String writeMessage)
Specifies a timeout, with a different message for the read and the write.
|
public PVConfiguration<R,W> from(DataSource dataSource)
dataSource
- a connection managerpublic PVConfiguration<R,W> notifyOn(Executor onThread)
onThread
- the thread on which to notifypublic PVConfiguration<R,W> timeout(org.epics.util.time.TimeDuration timeout)
public PVConfiguration<R,W> timeout(org.epics.util.time.TimeDuration timeout, String timeoutMessage)
@Deprecated public PVConfiguration<R,W> timeout(TimeDuration timeout)
@Deprecated public PVConfiguration<R,W> timeout(TimeDuration timeout, String timeoutMessage)
public PVConfiguration<R,W> timeout(org.epics.util.time.TimeDuration timeout, String readMessage, String writeMessage)
timeout
- time before notificationreadMessage
- exception message for the read timeoutwriteMessage
- exception message for the write timeoutpublic PVConfiguration<R,W> routeExceptionsTo(ExceptionHandler exceptionHandler)
Giving a custom exception handler will disable the default handler,
so PV.lastException()
and PV.lastWriteException()
is no longer set and no notification
is done.
exceptionHandler
- an exception handlerpublic PV<R,W> synchWriteAndMaxReadRate(org.epics.util.time.TimeDuration period)
period
- minimum time between read notificationspublic PV<R,W> asynchWriteAndMaxReadRate(org.epics.util.time.TimeDuration period)
period
- minimum time between read notifications@Deprecated public PV<R,W> synchWriteAndReadEvery(TimeDuration period)
period
- minimum time between read notifications@Deprecated public PV<R,W> asynchWriteAndReadEvery(TimeDuration period)
period
- minimum time between read notificationsCopyright © 2012. All Rights Reserved.