|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neeve.robin.Controller
public final class Controller
The Robin controller.
| Constructor Summary | |
|---|---|
Controller()
Creates a robin Controller on the default discovery network. |
|
| Method Summary | |
|---|---|
void |
checkAndDeployNewXars()
Checks the deploy folder for new XARs to extract |
void |
close()
Closes the Controller and it's underlying deployment Model. |
static Controller |
create(String discoveryDescriptor)
|
Script |
createScript(System system)
Create an executable script |
File |
getDistribution()
Get the configured distribution |
String |
getDistributionPlatform()
Get the configured distribution's platform |
String |
getJavaHome()
Get the configured JAVA_HOME |
com.neeve.deploy.Model |
getModel()
Get the underlying model instance |
String |
getRobinHome()
Get the configured ROBIN_HOME |
String |
getSshKeyFile()
Get the configured SSH key file |
String |
getSshUser()
Get the configured SSH user |
List<String> |
getSystemNames()
Get the names of the deployed systems |
int |
getXVMCommandTimeout()
|
int |
getXVMLaunchTimeout()
|
boolean |
isTreatUnreachableXVMAsNonFatal()
|
static void |
main(String[] args)
|
File |
resolveSystemHome(String systemName)
Resolve the root directory of a system |
Controller |
setTraceSniffer(TraceSniffer traceSniffer)
Set the controller trace sniffer |
void |
setTreatUnreachableXVMAsNonFatal(boolean val)
Set to not treat an unreachable XVM as a fatal error |
Controller |
setTroubleshootingTraceSniffer(TraceSniffer traceSniffer)
Set the controller troubleshooting trace sniffer |
void |
setXVMCommandTimeout(int xvmCommandTimeout)
Set the timeout for synchronous XVM requests (in milliseconds) |
void |
setXVMLaunchTimeout(int xvmLaunchTimeout)
Sets the timeout for XVM launches (in seconds) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Controller()
throws Exception
Controller on the default discovery network.
Exception| Method Detail |
|---|
public static Controller create(String discoveryDescriptor)
throws Exception
discoveryDescriptor - The descriptor for the discovery network on which to listen
Controller;
Exception - If there is an error creating the Controllerpublic final File resolveSystemHome(String systemName)
public final String getRobinHome()
public final String getJavaHome()
public final String getSshUser()
public final String getSshKeyFile()
public final File getDistribution()
public final String getDistributionPlatform()
public final Controller setTraceSniffer(TraceSniffer traceSniffer)
public final Controller setTroubleshootingTraceSniffer(TraceSniffer traceSniffer)
public final void setXVMLaunchTimeout(int xvmLaunchTimeout)
public final int getXVMLaunchTimeout()
public final void setXVMCommandTimeout(int xvmCommandTimeout)
public final int getXVMCommandTimeout()
public final void setTreatUnreachableXVMAsNonFatal(boolean val)
public final boolean isTreatUnreachableXVMAsNonFatal()
public final com.neeve.deploy.Model getModel()
public final List<String> getSystemNames()
public final void checkAndDeployNewXars()
public final Script createScript(System system)
throws Exception
Exceptionpublic final void close()
Controller and it's underlying deployment Model.
If the controller is using the default discovery provider this method will not close it, otherwise the discovery provider used by this controller will be closed as a result of this call.
public static void main(String[] args)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||