Class SocketLoggerAnalyticsConnectorPlugin

    • Constructor Detail

      • SocketLoggerAnalyticsConnectorPlugin

        @Inject
        public SocketLoggerAnalyticsConnectorPlugin​(Optional<String> appNameOpt,
                                                    Optional<String> hostNameOpt,
                                                    Optional<Integer> portOpt)
        Constructor.
        Parameters:
        appNameOpt - the node name
        hostNameOpt - hostName of the remote server
        portOpt - port of the remote server
    • Method Detail

      • add

        public void add​(AProcess process)
        Adds a process to a connector which acts as a consumer.
        Specified by:
        add in interface AnalyticsConnectorPlugin
        Parameters:
        process - the process
      • add

        public void add​(Metric metric)
        Adds a metric to a connector which acts as a consumer.
        Specified by:
        add in interface AnalyticsConnectorPlugin
        Parameters:
        metric - the metric
      • add

        public void add​(HealthCheck healthCheck)
        Adds a healthCheck to a connector which acts as a consumer.
        Specified by:
        add in interface AnalyticsConnectorPlugin
        Parameters:
        healthCheck - the healthCheck
      • start

        public void start()
        Description copied from interface: Activeable
        Called after the component has been created and filled by injection (for the components built by configuration).
        Specified by:
        start in interface Activeable
      • stop

        public void stop()
        Description copied from interface: Activeable
        Called before the component is stopped.
        Specified by:
        stop in interface Activeable
      • pollQueue

        public void pollQueue()
        Daemon to unstack processes to end them