public abstract class Admin
extends java.lang.Object
Constructor and Description |
---|
Admin() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Invalidates this Admin reference.
|
abstract Metaspace |
connect(java.lang.String command) |
static Admin |
create() |
abstract void |
disconnect(Metaspace metaspace)
Command to execute to disconnect from a metaspace
|
abstract java.lang.String |
execute(Metaspace metaspace,
java.lang.String command)
Executes ActiveSpaces Admin language commands on the Metasapce.
|
abstract java.lang.String |
help()
Returns all help strings
|
public static Admin create()
public abstract Metaspace connect(java.lang.String command) throws AdminException
command
- Command to execute for Metaspace connectionAdminException
- if the command execution failspublic abstract void disconnect(Metaspace metaspace) throws AdminException
metaspace
- Metaspace object to disconnectAdminException
- if the command failspublic abstract java.lang.String execute(Metaspace metaspace, java.lang.String command) throws AdminException
Executes ActiveSpaces Admin language commands on the Metasapce. For commands such as
"show space
metaspace
- Metaspace object that command will be executed oncommand
- Command to executeAdminException
- if the command execution failspublic abstract void close()
public abstract java.lang.String help() throws AdminException
AdminException
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.