public class InvocationGridManager
extends java.lang.Object
Constructor and Description |
---|
InvocationGridManager() |
Modifier and Type | Method and Description |
---|---|
static void |
deployInvocationGridThroughZip(GridConnection connection,
java.lang.String igName,
java.lang.String executableName,
java.io.File zipFile,
java.lang.String javaEntryPoint)
Deploys a packaged invocation grid.
|
static void |
deployInvocationGridThroughZip(GridConnection connection,
java.lang.String igName,
java.lang.String executableName,
java.io.File zipFile,
java.lang.String javaEntryPoint,
byte[] startupParam)
Deploys a packaged invocation grid.
|
static void |
deployInvocationGridThroughZip(GridConnection connection,
java.lang.String igName,
java.lang.String executableName,
java.io.File zipFile,
java.lang.String javaEntryPoint,
java.lang.String javaFlags,
byte[] startupParam)
Deploys a packaged invocation grid.
|
static void |
shutdownInvocationGrid(GridConnection connection,
long igId)
Shutdown a running invocation grid.
|
static void |
shutdownInvocationGrid(GridConnection connection,
java.lang.String name)
Shutdown a running invocation grid.
|
static void |
startPreInstalledInvocationGrid(GridConnection connection,
java.lang.String igName,
java.lang.String executableName,
java.lang.String workingDirectory,
java.lang.String javaEntryPoint)
Start a pre-installed invocation grid.
|
static void |
startPreInstalledInvocationGrid(GridConnection connection,
java.lang.String igName,
java.lang.String executableName,
java.lang.String workingDirectory,
java.lang.String javaEntryPoint,
byte[] startupParam)
Start a pre-installed invocation grid.
|
static void |
startPreInstalledInvocationGrid(GridConnection connection,
java.lang.String igName,
java.lang.String executableName,
java.lang.String workingDirectory,
java.lang.String javaEntryPoint,
java.lang.String javaFlags,
byte[] startupParam)
Start a pre-installed invocation grid.
|
public static void startPreInstalledInvocationGrid(GridConnection connection, java.lang.String igName, java.lang.String executableName, java.lang.String workingDirectory, java.lang.String javaEntryPoint) throws InvocationGridException
connection
- the GridConnection
igName
- the invocation grid name.executableName
- the executable name, typically, "java.exe" for Windows, and "java" for Linux.workingDirectory
- the working directory.javaEntryPoint
- the java entry point.InvocationGridException
- if the invocation grid fails to start.public static void startPreInstalledInvocationGrid(GridConnection connection, java.lang.String igName, java.lang.String executableName, java.lang.String workingDirectory, java.lang.String javaEntryPoint, byte[] startupParam) throws InvocationGridException
connection
- the GridConnection
igName
- the invocation grid name.executableName
- the executable name, typically, "java.exe" for Windows, and "java" for Linux.workingDirectory
- the working directory.javaEntryPoint
- the java entry point.startupParam
- a startup param if the IG requires extra runtime information.InvocationGridException
- if the invocation grid fails to start.public static void startPreInstalledInvocationGrid(GridConnection connection, java.lang.String igName, java.lang.String executableName, java.lang.String workingDirectory, java.lang.String javaEntryPoint, java.lang.String javaFlags, byte[] startupParam) throws InvocationGridException
connection
- the GridConnection
igName
- the invocation grid name.executableName
- the executable name, typically, "java.exe" for Windows, and "java" for Linux.workingDirectory
- the working directory.javaEntryPoint
- the java entry point.javaFlags
- the java flags to use for the JVM.startupParam
- a startup param if the IG requires extra runtime information.InvocationGridException
- if the invocation grid fails to start.public static void deployInvocationGridThroughZip(GridConnection connection, java.lang.String igName, java.lang.String executableName, java.io.File zipFile, java.lang.String javaEntryPoint) throws InvocationGridException
connection
- the GridConnection
igName
- the invocation grid name.executableName
- the executable name, typically, "java.exe" for Windows, and "java" for Linux.zipFile
- the zip file.javaEntryPoint
- the java entry point.InvocationGridException
- if the invocation grid fails to start.public static void deployInvocationGridThroughZip(GridConnection connection, java.lang.String igName, java.lang.String executableName, java.io.File zipFile, java.lang.String javaEntryPoint, byte[] startupParam) throws InvocationGridException
connection
- the GridConnection
igName
- the invocation grid name.executableName
- the executable name, typically, "java.exe" for Windows, and "java" for Linux.zipFile
- the zip file.javaEntryPoint
- the java entry point.startupParam
- a startup param if the IG requires extra runtime information.InvocationGridException
- if the invocation grid fails to start.public static void deployInvocationGridThroughZip(GridConnection connection, java.lang.String igName, java.lang.String executableName, java.io.File zipFile, java.lang.String javaEntryPoint, java.lang.String javaFlags, byte[] startupParam) throws InvocationGridException
connection
- the GridConnection
igName
- the invocation grid name.executableName
- the executable name, typically, "java.exe" for Windows, and "java" for Linux.zipFile
- the zip file.javaEntryPoint
- the java entry point.javaFlags
- the java flags.startupParam
- a startup param if the IG requires extra runtime information.InvocationGridException
- if the invocation grid fails to start.public static void shutdownInvocationGrid(GridConnection connection, java.lang.String name) throws InvocationGridException
connection
- the GridConnection
name
- the invocation grid name.InvocationGridException
- if the invocation grid fails to stop.public static void shutdownInvocationGrid(GridConnection connection, long igId) throws InvocationGridException
connection
- the GridConnection
igId
- the invocation grid id.InvocationGridException
- if the invocation grid fails to stop.