Record Class ProcessConfiguration

java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.service.ProcessConfiguration
Record Components:
environment - the environment of the task / service this configuration belongs to.
maxHeapMemorySize - the maximum amount of heap (in MB) a service is allowed to use.
jvmOptions - the jvm options to apply to the process, for example the garbage collector.
processParameters - the process parameters to apply after the actual command line, for example --dev.
environmentVariables - the environment variables to apply to the service environment.
All Implemented Interfaces:
Cloneable

public record ProcessConfiguration(@NonNull String environment, int maxHeapMemorySize, @Unmodifiable @NonNull List<String> jvmOptions, @Unmodifiable @NonNull List<String> processParameters, @Unmodifiable @NonNull Map<String,String> environmentVariables) extends Record implements Cloneable
Holds the most common options to configure any process started and managed by CloudNet.
Since:
4.0