Class AbstractDataCollector

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(ActionEvent action)
      Add a new measure - simply transmit it to the Storage Proxy component unless it is rejected by current DataCollectorFilter.
      void add​(AlarmEvent alarm)
      Add a new alarm - simply transmit it to the Storage Proxy component unless it is rejected by current DataCollectorFilter.
      void add​(LifeCycleEvent event)
      Add a new lifecycle event - simply forwards it to the Storage Proxy component unless it is rejected by current DataCollectorFilter.
      void add​(ProbeEvent measure)
      Add a new measure - simply transmit it to the Storage Proxy component unless it is null or it is rejected by current DataCollectorFilter.
      void bindFc​(java.lang.String clientItfName, java.lang.Object serverItf)  
      void init​(java.io.Serializable testId, java.lang.String bladeId)
      Does nothing.
      java.lang.String[] listFc()  
      java.lang.Object lookupFc​(java.lang.String clientItfName)  
      void setFilter​(DataCollectorFilter filter)
      Sets a filter selecting generated events forwarded to Storage
      void terminate()
      Does nothing.
      void unbindFc​(java.lang.String clientItfName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDataCollector

        public AbstractDataCollector()
    • Method Detail

      • lookupFc

        public java.lang.Object lookupFc​(java.lang.String clientItfName)
        Specified by:
        lookupFc in interface org.objectweb.fractal.api.control.BindingController
      • bindFc

        public void bindFc​(java.lang.String clientItfName,
                           java.lang.Object serverItf)
        Specified by:
        bindFc in interface org.objectweb.fractal.api.control.BindingController
      • unbindFc

        public void unbindFc​(java.lang.String clientItfName)
        Specified by:
        unbindFc in interface org.objectweb.fractal.api.control.BindingController
      • listFc

        public java.lang.String[] listFc()
        Specified by:
        listFc in interface org.objectweb.fractal.api.control.BindingController
      • init

        public void init​(java.io.Serializable testId,
                         java.lang.String bladeId)
        Does nothing.
        Specified by:
        init in interface DataCollectorWrite
        Parameters:
        testId - test identifier
        bladeId - blade identifier
      • add

        public void add​(LifeCycleEvent event)
        Add a new lifecycle event - simply forwards it to the Storage Proxy component unless it is rejected by current DataCollectorFilter.
        Specified by:
        add in interface DataCollectorWrite
        Parameters:
        event - new lifecycle event
      • add

        public void add​(ActionEvent action)
        Add a new measure - simply transmit it to the Storage Proxy component unless it is rejected by current DataCollectorFilter.
        Specified by:
        add in interface DataCollectorWrite
        Parameters:
        action - the new action event
      • add

        public void add​(AlarmEvent alarm)
        Add a new alarm - simply transmit it to the Storage Proxy component unless it is rejected by current DataCollectorFilter.
        Specified by:
        add in interface DataCollectorWrite
        Parameters:
        alarm - new alarm event
      • add

        public void add​(ProbeEvent measure)
        Add a new measure - simply transmit it to the Storage Proxy component unless it is null or it is rejected by current DataCollectorFilter.
        Specified by:
        add in interface DataCollectorWrite
        Parameters:
        measure - the new measure
      • setFilter

        public void setFilter​(DataCollectorFilter filter)
        Description copied from interface: DataCollectorWrite
        Sets a filter selecting generated events forwarded to Storage
        Specified by:
        setFilter in interface DataCollectorWrite
        Parameters:
        filter - event filter; a null filter forwards all events to Storage