|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.DataRecipe
public class DataRecipe
Represents all the information necessary to connect to a DataSource
.
It represents the contact between PVManager and the DataSource
.
Constructor Summary | |
---|---|
DataRecipe()
Creates an empty data recipe. |
Method Summary | |
---|---|
java.util.Map<Collector,java.util.Map<java.lang.String,ValueCache>> |
getChannelsPerCollectors()
Returns all channels that need to be connected, organized by the collector that needs them. |
ExceptionHandler |
getExceptionHandler()
Returns the exception handler to be used for this PV. |
DataRecipe |
includeCollector(Collector collector,
java.util.Map<java.lang.String,ValueCache> caches)
Creates a new recipe by adding the new collector and the new caches. |
DataRecipe |
includeRecipe(DataRecipe dataRecipe)
Creates a new recipe by adding the given recipe to this one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataRecipe()
Method Detail |
---|
public DataRecipe includeCollector(Collector collector, java.util.Map<java.lang.String,ValueCache> caches)
Note: this method should be only used for testing as it does not scale.
collector
- the new collectorcaches
- the caches that the collector depends on
public DataRecipe includeRecipe(DataRecipe dataRecipe)
Note: this method should be only used for testing as it does not scale.
dataRecipe
- the recipe to include
public java.util.Map<Collector,java.util.Map<java.lang.String,ValueCache>> getChannelsPerCollectors()
Every time there is a new value, the data source will need to lock the collector, put the values in the value cache relative for each channel, and notify the collector.
public ExceptionHandler getExceptionHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |