Interface GeneralPropertySet


  • public interface GeneralPropertySet
    Gathers all general container properties valid for all types of containers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String HOSTNAME
      Hostname on which the container is listening to.

      Note: In order to listen to all IP addresses, you can set this to 0.0.0.0, in that case the container will be set up to use that address but the Cargo ping component will still ping on localhost.
      static String IGNORE_NON_EXISTING_PROPERTIES
      Specify if CARGO's configuration generator for standalone containers should ignore when a property cannot be replaced because it does not exist in the source file.
      static String JAVA_HOME
      The location of the jvm to use when starting/stopping containers.
      static String JVMARGS
      JVM args to be used when starting/stopping containers (ex: -Xmx500m).
      static String LOGGING
      Logging level for logging container information.
      static String PORT_OFFSET
      The port offset to apply to the container ports.
      static String PROTOCOL
      Protocol on which the container is listening to.
      static String RMI_PORT
      The port to use when communicating with this server, for example to start and stop it.
      static String RUNTIME_ARGS
      Runtime args to be used when starting/stopping containers (ex: -userThreads).
      static String SPAWN_PROCESS
      Specify if the process should run spawned; i.e. outlive CARGO's process and that the started container keeps running even after CARGO itself has terminated.
      static String START_JVMARGS
      JVM args to be used when starting containers
    • Field Detail

      • HOSTNAME

        static final String HOSTNAME
        Hostname on which the container is listening to.

        Note: In order to listen to all IP addresses, you can set this to 0.0.0.0, in that case the container will be set up to use that address but the Cargo ping component will still ping on localhost.
        See Also:
        Constant Field Values
      • JVMARGS

        static final String JVMARGS
        JVM args to be used when starting/stopping containers (ex: -Xmx500m).
        See Also:
        Constant Field Values
      • RUNTIME_ARGS

        static final String RUNTIME_ARGS
        Runtime args to be used when starting/stopping containers (ex: -userThreads).
        See Also:
        Constant Field Values
      • RMI_PORT

        static final String RMI_PORT
        The port to use when communicating with this server, for example to start and stop it.
        See Also:
        Constant Field Values
      • JAVA_HOME

        static final String JAVA_HOME
        The location of the jvm to use when starting/stopping containers.
        See Also:
        Constant Field Values
      • SPAWN_PROCESS

        static final String SPAWN_PROCESS
        Specify if the process should run spawned; i.e. outlive CARGO's process and that the started container keeps running even after CARGO itself has terminated.
        See Also:
        Constant Field Values
      • IGNORE_NON_EXISTING_PROPERTIES

        static final String IGNORE_NON_EXISTING_PROPERTIES
        Specify if CARGO's configuration generator for standalone containers should ignore when a property cannot be replaced because it does not exist in the source file.
        See Also:
        Constant Field Values