Class SentinelConfig.Service

java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.cloud.config.SentinelConfig.Service
Enclosing class:
SentinelConfig

public static final class SentinelConfig.Service extends com.yahoo.config.InnerNode
This class represents sentinel.service[]
  • Constructor Details

  • Method Details

    • command

      public String command()
      Returns:
      sentinel.service[].command
    • environ

      Returns:
      sentinel.service[].environ[]
    • environ

      public SentinelConfig.Service.Environ environ(int i)
      Parameters:
      i - the index of the value to return
      Returns:
      sentinel.service[].environ[]
    • logctl

      Returns:
      sentinel.service[].logctl[]
    • logctl

      public SentinelConfig.Service.Logctl logctl(int i)
      Parameters:
      i - the index of the value to return
      Returns:
      sentinel.service[].logctl[]
    • preShutdownCommand

      public String preShutdownCommand()
      Returns:
      sentinel.service[].preShutdownCommand
    • name

      public String name()
      Returns:
      sentinel.service[].name
    • autostart

      public boolean autostart()
      Returns:
      sentinel.service[].autostart
    • autorestart

      public boolean autorestart()
      Returns:
      sentinel.service[].autorestart
    • id

      public String id()
      Returns:
      sentinel.service[].id
    • affinity

      Returns:
      sentinel.service[].affinity