examples.async
Class StreamingMSDataPlugin.SourceCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by simtools.data.DataSourceCollection
                  extended by simtools.data.async.TimeStampedDataSourceCollection
                      extended by simtools.data.async.StreamingTSDataSourceCollection
                          extended by examples.async.StreamingMSDataPlugin.SourceCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess
Enclosing class:
StreamingMSDataPlugin

public static class StreamingMSDataPlugin.SourceCollection
extends StreamingTSDataSourceCollection

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class simtools.data.async.TimeStampedDataSourceCollection
TimeStampedDataSourceCollection.InvalidFormatException
 
Nested classes/interfaces inherited from class simtools.data.DataSourceCollection
DataSourceCollection.Container
 
Field Summary
static java.lang.String ID_MARKER
           
 
Fields inherited from class simtools.data.async.StreamingTSDataSourceCollection
_maxSize, _minDuration, _minSize
 
Fields inherited from class simtools.data.async.TimeStampedDataSourceCollection
_container, _end, _start, ID_DATE_FORMAT, timeStampedDateFormat
 
Fields inherited from class simtools.data.DataSourceCollection
buffers, endNotificationListeners, lastIndex, listeners, map, startIndex
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
StreamingMSDataPlugin.SourceCollection()
           
 
Method Summary
 java.util.Collection getCollectionContainers()
          If the data source collection is compound return the first level collection of containers used to organize the data sources
 DataInfo getInformation()
           
 boolean isCompound()
          Checks if a data source collection is compound, i.e. if it provides containers to organize the data source hierarchically
 
Methods inherited from class simtools.data.async.StreamingTSDataSourceCollection
add, add, add, getDoubleValue, getValue
 
Methods inherited from class simtools.data.async.TimeStampedDataSourceCollection
computeMax, computeMin, getEnd, getInformation, getMax, getMin, getStart, setEnd, setStart, valueClass
 
Methods inherited from class simtools.data.DataSourceCollection
addEndNotificationListener, addListener, attachBuffer, bufferize, bufferize, bufferize, computeLastIndex, computeLastIndex, computeStartIndex, computeStartIndex, get, getByteMax, getByteMin, getByteValue, getDoubleMax, getDoubleMin, getFloatMax, getFloatMin, getFloatValue, getIntegerMax, getIntegerMin, getIntegerValue, getKind, getLastIndex, getLastIndex, getLongMax, getLongMin, getLongValue, getShortMax, getShortMin, getShortValue, getStartIndex, getStartIndex, hashCode, isComparable, notifyEndNotificationListeners, notifyListenersForCollectionRemoved, notifyListenersForDataSourceAdded, notifyListenersForDataSourceRemoved, notifyListenersForInfoChange, removeAllElements, removeEndNotificationListener, removeListener, setSlice, sortedOrder
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

ID_MARKER

public static final java.lang.String ID_MARKER
See Also:
Constant Field Values
Constructor Detail

StreamingMSDataPlugin.SourceCollection

public StreamingMSDataPlugin.SourceCollection()
                                       throws java.io.IOException,
                                              TimeStampedDataSourceCollection.InvalidFormatException
Throws:
java.io.IOException
TimeStampedDataSourceCollection.InvalidFormatException
Method Detail

isCompound

public boolean isCompound()
Description copied from class: DataSourceCollection
Checks if a data source collection is compound, i.e. if it provides containers to organize the data source hierarchically

Overrides:
isCompound in class TimeStampedDataSourceCollection
Returns:
true if it is compound

getInformation

public DataInfo getInformation()
Overrides:
getInformation in class StreamingTSDataSourceCollection

getCollectionContainers

public java.util.Collection getCollectionContainers()
Description copied from class: DataSourceCollection
If the data source collection is compound return the first level collection of containers used to organize the data sources

Overrides:
getCollectionContainers in class TimeStampedDataSourceCollection
Returns:
the first level collection of containers or null