public class JadeRemoteStart
extends java.lang.Object
ServerSlaveAgent
of the background
system. It enables the agent to start a new process in order to extend
a remote JADE platform and join that platform with a new container.ServerSlaveAgent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
jvmMemo128MB
Constant for a memory of 128 MB.
|
static java.lang.String |
jvmMemo16GB
Constant for a memory of 16384 MB.
|
static java.lang.String |
jvmMemo16MB
Constant for a memory of 16 MB.
|
static java.lang.String |
jvmMemo1GB
Constant for a memory of 1024 MB.
|
static java.lang.String |
jvmMemo256MB
Constant for a memory of 256 MB.
|
static java.lang.String |
jvmMemo2GB
Constant for a memory of 2048 MB.
|
static java.lang.String |
jvmMemo32GB
Constant for a memory of 32768 MB.
|
static java.lang.String |
jvmMemo32MB
Constant for a memory of 32 MB.
|
static java.lang.String |
jvmMemo4GB
Constant for a memory of 4096 MB.
|
static java.lang.String |
jvmMemo512MB
Constant for a memory of 512 MB.
|
static java.lang.String |
jvmMemo64MB
Constant for a memory of 64 MB.
|
static java.lang.String |
jvmMemo8GB
Constant for a memory of 8192 MB.
|
Constructor and Description |
---|
JadeRemoteStart(jade.core.Agent agent,
JadeRemoteStartConfiguration remoteStartConfiguration)
Instantiates a new jade remote start.
|
JadeRemoteStart(jade.core.Agent agent,
RemoteContainerConfig remoteContainerConfig)
Instantiates a new jade remote start.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJADEContainerName() |
java.lang.String |
getJADEHost() |
java.lang.String |
getJADEPort() |
java.lang.String |
getJADEServices() |
java.lang.String |
getJadeShowGUIAgentName() |
java.lang.String |
getJVMMemAllocInitial() |
java.lang.String |
getJVMMemAllocMaximum() |
boolean |
isJADEIsRemoteContainer() |
boolean |
isJADEShowGUI() |
boolean |
isJVMMemAllocUseDefaults()
Checks if is memory allocation for the new JVM will be the default one.
|
boolean |
isReadyToStartRemoteContainer()
Checks if is ready to start remote container.
|
void |
setJADEContainerName(java.lang.String jadeContainerName) |
void |
setJADEHost(java.lang.String jadeHost) |
void |
setJADEIsRemoteContainer(boolean jadeIsRemoteContainer) |
void |
setJADEPort(java.lang.String jadePort) |
void |
setJADEServices(java.lang.String jadeServices) |
void |
setJADEShowGUI(boolean jadeShowGUI) |
void |
setJadeShowGUIAgentName(java.lang.String jadeShowGUIAgentName) |
void |
setJVMMemAllocInitial(java.lang.String jvmMemAllocInitial) |
void |
setJVMMemAllocMaximum(java.lang.String jvmMemAllocMaximum) |
void |
setJVMMemAllocUseDefaults(boolean useDefaults)
Sets the memory allocation for the new JVM to be the default value or not.
|
void |
startJade()
This Method starts a Jade-Platform within a new Java Virtual Machine.
|
public static final java.lang.String jvmMemo16MB
public static final java.lang.String jvmMemo32MB
public static final java.lang.String jvmMemo64MB
public static final java.lang.String jvmMemo128MB
public static final java.lang.String jvmMemo256MB
public static final java.lang.String jvmMemo512MB
public static final java.lang.String jvmMemo1GB
public static final java.lang.String jvmMemo2GB
public static final java.lang.String jvmMemo4GB
public static final java.lang.String jvmMemo8GB
public static final java.lang.String jvmMemo16GB
public static final java.lang.String jvmMemo32GB
public JadeRemoteStart(jade.core.Agent agent, JadeRemoteStartConfiguration remoteStartConfiguration)
agent
- the current agent that uses this classremoteStartConfiguration
- the remote start configurationpublic JadeRemoteStart(jade.core.Agent agent, RemoteContainerConfig remoteContainerConfig)
agent
- the current agent that uses this classremoteContainerConfig
- the RemoteContainerConfigpublic boolean isReadyToStartRemoteContainer()
public void startJade()
public boolean isJVMMemAllocUseDefaults()
public void setJVMMemAllocUseDefaults(boolean useDefaults)
useDefaults
- the new jVM mem alloc use defaultspublic java.lang.String getJVMMemAllocInitial()
public void setJVMMemAllocInitial(java.lang.String jvmMemAllocInitial)
jvmMemAllocInitial
- the jvmMemAllocInitial to setpublic java.lang.String getJVMMemAllocMaximum()
public void setJVMMemAllocMaximum(java.lang.String jvmMemAllocMaximum)
jvmMemAllocMaximum
- the jvmMemAllocMaximum to setpublic boolean isJADEIsRemoteContainer()
public void setJADEIsRemoteContainer(boolean jadeIsRemoteContainer)
jadeIsRemoteContainer
- the jadeIsRemoteContainer to setpublic boolean isJADEShowGUI()
public void setJADEShowGUI(boolean jadeShowGUI)
jadeShowGUI
- the jadeShowGUI to setpublic java.lang.String getJadeShowGUIAgentName()
public void setJadeShowGUIAgentName(java.lang.String jadeShowGUIAgentName)
jadeShowGUIAgentName
- the jadeShowGUIAgentName to setpublic java.lang.String getJADEHost()
public void setJADEHost(java.lang.String jadeHost)
jadeHost
- the jadeHost to setpublic java.lang.String getJADEPort()
public void setJADEPort(java.lang.String jadePort)
jadePort
- the jadePort to setpublic java.lang.String getJADEContainerName()
public void setJADEContainerName(java.lang.String jadeContainerName)
jadeContainerName
- the jadeContainerName to setpublic void setJADEServices(java.lang.String jadeServices)
jadeServices
- the jadeServices to setpublic java.lang.String getJADEServices()