|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.WriteFunction<T>
org.epics.pvmanager.WriteCache<T>
T
- the payload type to be held in the cachepublic class WriteCache<T>
Represent part of the write buffer that holds the value for one pv.
Constructor Summary | |
---|---|
WriteCache()
Creates a new cache. |
|
WriteCache(java.lang.String channelName)
Creates a new cache for the given channel name. |
Method Summary | |
---|---|
java.lang.String |
getChannelName()
The channel associated to this cache |
java.util.Collection<java.lang.String> |
getPrecedingChannels()
Returns all the channels in the same buffer that should be written before writing the channel for this cache. |
T |
getValue()
Returns the value in the cache. |
void |
setPrecedingChannels(java.util.List<java.lang.String> precedingChannels)
Changes which channels need to be written before the channel for this cache can be written. |
void |
setValue(T newValue)
Changes the value in the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteCache()
public WriteCache(java.lang.String channelName)
channelName
- the channel nameMethod Detail |
---|
public T getValue()
public void setValue(T newValue)
setValue
in class WriteFunction<T>
newValue
- the new valuepublic void setPrecedingChannels(java.util.List<java.lang.String> precedingChannels)
precedingChannels
- a list of channel namespublic java.util.Collection<java.lang.String> getPrecedingChannels()
public java.lang.String getChannelName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |