Class ProcessConfiguration
- java.lang.Object
-
- de.dytanic.cloudnet.driver.service.ProcessConfiguration
-
- All Implemented Interfaces:
SerializableObject
public final class ProcessConfiguration extends java.lang.Object implements SerializableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected ServiceEnvironmentTypeenvironmentprotected java.util.Collection<java.lang.String>jvmOptionsprotected intmaxHeapMemorySizeprotected java.util.Collection<java.lang.String>processParameters
-
Constructor Summary
Constructors Constructor Description ProcessConfiguration()ProcessConfiguration(ServiceEnvironmentType environment, int maxHeapMemorySize, java.util.Collection<java.lang.String> jvmOptions)ProcessConfiguration(ServiceEnvironmentType environment, int maxHeapMemorySize, java.util.Collection<java.lang.String> jvmOptions, java.util.Collection<java.lang.String> processParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceEnvironmentTypegetEnvironment()java.util.Collection<java.lang.String>getJvmOptions()intgetMaxHeapMemorySize()java.util.Collection<java.lang.String>getProcessParameters()voidread(@NotNull ProtocolBuffer buffer)voidsetEnvironment(ServiceEnvironmentType environment)voidsetJvmOptions(java.util.Collection<java.lang.String> jvmOptions)voidsetMaxHeapMemorySize(int maxHeapMemorySize)voidsetProcessParameters(java.util.Collection<java.lang.String> processParameters)voidwrite(@NotNull ProtocolBuffer buffer)
-
-
-
Field Detail
-
environment
protected ServiceEnvironmentType environment
-
maxHeapMemorySize
protected int maxHeapMemorySize
-
jvmOptions
protected java.util.Collection<java.lang.String> jvmOptions
-
processParameters
protected java.util.Collection<java.lang.String> processParameters
-
-
Constructor Detail
-
ProcessConfiguration
public ProcessConfiguration(ServiceEnvironmentType environment, int maxHeapMemorySize, java.util.Collection<java.lang.String> jvmOptions)
-
ProcessConfiguration
public ProcessConfiguration(ServiceEnvironmentType environment, int maxHeapMemorySize, java.util.Collection<java.lang.String> jvmOptions, java.util.Collection<java.lang.String> processParameters)
-
ProcessConfiguration
public ProcessConfiguration()
-
-
Method Detail
-
getEnvironment
public ServiceEnvironmentType getEnvironment()
-
setEnvironment
public void setEnvironment(ServiceEnvironmentType environment)
-
getMaxHeapMemorySize
public int getMaxHeapMemorySize()
-
setMaxHeapMemorySize
public void setMaxHeapMemorySize(int maxHeapMemorySize)
-
getJvmOptions
public java.util.Collection<java.lang.String> getJvmOptions()
-
setJvmOptions
public void setJvmOptions(java.util.Collection<java.lang.String> jvmOptions)
-
getProcessParameters
public java.util.Collection<java.lang.String> getProcessParameters()
-
setProcessParameters
public void setProcessParameters(java.util.Collection<java.lang.String> processParameters)
-
write
public void write(@NotNull @NotNull ProtocolBuffer buffer)- Specified by:
writein interfaceSerializableObject
-
read
public void read(@NotNull @NotNull ProtocolBuffer buffer)- Specified by:
readin interfaceSerializableObject
-
-