Class LogForwarder

    • Method Detail

      • getPortCount

        public int getPortCount()
        LogForwarder does not need any ports.
        Specified by:
        getPortCount in interface NetworkPortRequestor
        Returns:
        The number of ports reserved by the LogForwarder
      • getStartupCommand

        public java.lang.String getStartupCommand()
        Description copied from class: AbstractService
        Must be overridden by services that should be started by config-sentinel. The returned value will be used in config-sentinel configuration. Returns null by default.
        Specified by:
        getStartupCommand in interface Service
        Overrides:
        getStartupCommand in class AbstractService
        Returns:
        The command used to start LogForwarder
      • getConfig

        public void getConfig​(com.yahoo.cloud.config.LogforwarderConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.cloud.config.LogforwarderConfig.Producer