Class EnQueue

    • Field Detail

      • m_StorageName

        protected StorageName m_StorageName
        the name of the queue in the internal storage.
      • m_RetrievalDelay

        protected long m_RetrievalDelay
        the retrieval delay in msecs.
    • Constructor Detail

      • EnQueue

        public EnQueue()
        Default constructor.
      • EnQueue

        public EnQueue​(StorageName storageName)
        Initializes with the specified storage name.
        Parameters:
        storageName - the name to use
      • EnQueue

        public EnQueue​(String storageName)
        Initializes with the specified storage name.
        Parameters:
        storageName - the name to use
    • Method Detail

      • isUpdatingStorage

        public boolean isUpdatingStorage()
        Returns whether storage items are being updated.
        Specified by:
        isUpdatingStorage in interface StorageUpdater
        Returns:
        true if storage items are updated
      • setStorageName

        public void setStorageName​(String value)
        Sets the name for the queue in the internal storage.
        Parameters:
        value - the name
      • setStorageName

        public void setStorageName​(StorageName value)
        Sets the name for the queue in the internal storage.
        Parameters:
        value - the name
      • getStorageName

        public StorageName getStorageName()
        Returns the name for the queue in the internal storage.
        Returns:
        the name
      • storageNameTipText

        public String storageNameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setRetrievalDelay

        public void setRetrievalDelay​(long value)
        Sets the delay to enforce on the retrieval of objects from the queue.
        Parameters:
        value - the delay
      • getRetrievalDelay

        public long getRetrievalDelay()
        Returns the delay to enforce on the retrieval of objects from the queue.
        Returns:
        the delay
      • retrievalDelayTipText

        public String retrievalDelayTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        adams.flow.core.Unknown.class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message