Class LockGuardedDrivenValueCollection<T,U,V extends DrivenValue<U>>
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.driven.LockGuardedDrivenValue<T>
- 
- com.inductiveautomation.perspective.gateway.driven.LockGuardedDrivenValueCollection<T,U,V>
 
 
- 
- Type Parameters:
- T- The type of the driven value
- U- The type of the driven values managed in the collection
- V- The type of the driven value which extends- DrivenValue
 - All Implemented Interfaces:
- DrivenValue<T>
 
 public abstract class LockGuardedDrivenValueCollection<T,U,V extends DrivenValue<U>> extends LockGuardedDrivenValue<T> A LockGuardedDrivenValueCollection is aLockGuardedDrivenValuewhich provides implementations forisReadyInternal(),isDirtyInternal(),startup(), andshutdown()common to a managedCollectionofDrivenValues.
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.perspective.gateway.driven.LockGuardedDrivenValuelock
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedLockGuardedDrivenValueCollection(java.lang.Object lock)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.util.Collection<V>getCollection()Fetch the managedCollectionofDrivenValuesprotected booleanisDirtyInternal()Called after asserting that the calling thread holds the injected lock.protected booleanisReadyInternal()Called after asserting that the calling thread holds the injected lock.protected java.util.Collection<PropertyReference>resolveReferencesInternal()voidshutdown()Lifecycle hook to shut down the driven valuevoidstartup()Lifecycle hook to start up the driven value- 
Methods inherited from class com.inductiveautomation.perspective.gateway.driven.LockGuardedDrivenValuegetAndClear, getAndClearInternal, isDirty, isReady, resolveReferences
 
- 
 
- 
- 
- 
Method Detail- 
getCollection@Nonnull protected abstract java.util.Collection<V> getCollection() Fetch the managedCollectionofDrivenValues- Returns:
- The managed CollectionofDrivenValues
 
 - 
isReadyInternalprotected boolean isReadyInternal() Description copied from class:LockGuardedDrivenValueCalled after asserting that the calling thread holds the injected lock.- Specified by:
- isReadyInternalin class- LockGuardedDrivenValue<T>
- See Also:
- LockGuardedDrivenValue.isReady()
 
 - 
isDirtyInternalprotected boolean isDirtyInternal() Description copied from class:LockGuardedDrivenValueCalled after asserting that the calling thread holds the injected lock.- Specified by:
- isDirtyInternalin class- LockGuardedDrivenValue<T>
- See Also:
- LockGuardedDrivenValue.isDirty()
 
 - 
startuppublic void startup() Description copied from interface:DrivenValueLifecycle hook to start up the driven value
 - 
resolveReferencesInternalprotected java.util.Collection<PropertyReference> resolveReferencesInternal() - Specified by:
- resolveReferencesInternalin class- LockGuardedDrivenValue<T>
 
 - 
shutdownpublic void shutdown() Description copied from interface:DrivenValueLifecycle hook to shut down the driven value
 
- 
 
-