Package org.yamcs.studio.data
Class PVFactory
java.lang.Object
org.yamcs.studio.data.PVFactory
-
Field Summary
Modifier and TypeFieldDescriptionstatic ExecutorService
The default background thread for PV change event notification. -
Method Summary
Modifier and TypeMethodDescriptioncreatePV
(String name, boolean readOnly, Executor notificationThread, ExceptionHandler exceptionHandler) Create a PV.static ExecutorService
static PVFactory
-
Field Details
-
SIMPLE_PV_THREAD
The default background thread for PV change event notification. It will only be created on its first use.
-
-
Method Details
-
getInstance
-
createPV
-
createPV
public IPV createPV(String name, boolean readOnly, Executor notificationThread, ExceptionHandler exceptionHandler) Create a PV.- Parameters:
name
- name of the PV. Must not be null.readOnly
- true if the client doesn't need to write to the PV.notificationThread
- the thread on which the read and write listener will be notified. Must not be null.exceptionHandler
- the handler to handle all exceptions happened in pv connection layer. If this is null, pv read listener or pv write listener will be notified on read or write exceptions respectively.
-
getDefaultPVNotificationThread
-