AEC2Instance
- java.lang.Object
-  
  - com.dashoptimization.AEC2Instance
 
-  
   
 
 public class AEC2Instance extends java.lang.Object
-  
    
   -  
        Field SummaryModifier and Type Field and Description java.lang.StringdnsPublic DNS name of the instance.java.lang.StringimageImage name.java.lang.StringipaddrPublic IP address of the instance.java.lang.StringkeyName of the SSH key used to connect to this instance.java.util.DatelaunchtimeInstance launch time.static intPENDINGState: instance starting.static intRUNNINGState: instance running.static intSHUTTING_DOWNState: instance shutting down.intstateInstance state.static intSTOPPEDState: instance stopped.static intSTOPPINGState: instance stopping.static intTERMINATEDState: instance terminated.java.lang.StringtypeInstance type.
 -  
        Method SummaryModifier and Type Method and Description java.lang.StringgetConnString()Generate a valid connection string for this instance (default mode)java.lang.StringgetConnStringSSH()Generate a valid connection string for this instance (for SSH)java.lang.StringgetConnStringXSRV()Generate a valid connection string for this instance (for xprmsrv)java.lang.StringgetId()Return Id of this instancejava.lang.Stringstatetext()Return the text corresponding to the state of this instancestatic java.lang.Stringstatetext(int s)Return the text corresponding to an instance statevoidterminate()Terminate this instancevoidupdate()Update instance informationbooleanwaitIsReady(int delay, boolean verbose)Wait until the instance to be ready to process connections
 
-  
        
-  
    
   -  
        Field Detail-  PENDINGpublic static final int PENDING State: instance starting.- See Also:
- Constant Field Values
 
 -  RUNNINGpublic static final int RUNNING State: instance running.- See Also:
- Constant Field Values
 
 -  SHUTTING_DOWNpublic static final int SHUTTING_DOWN State: instance shutting down.- See Also:
- Constant Field Values
 
 -  TERMINATEDpublic static final int TERMINATED State: instance terminated.- See Also:
- Constant Field Values
 
 -  STOPPINGpublic static final int STOPPING State: instance stopping.- See Also:
- Constant Field Values
 
 -  STOPPEDpublic static final int STOPPED State: instance stopped.- See Also:
- Constant Field Values
 
 -  imagepublic java.lang.String image Image name.
 -  statepublic int state Instance state.
 -  dnspublic java.lang.String dns Public DNS name of the instance.
 -  keypublic java.lang.String key Name of the SSH key used to connect to this instance.
 -  typepublic java.lang.String type Instance type.
 -  launchtimepublic java.util.Date launchtime Instance launch time.
 -  ipaddrpublic java.lang.String ipaddr Public IP address of the instance.
 
-  
 -  
        Method Detail-  getIdpublic java.lang.String getId() Return Id of this instance
 -  getConnStringSSHpublic java.lang.String getConnStringSSH() Generate a valid connection string for this instance (for SSH)
 -  getConnStringXSRVpublic java.lang.String getConnStringXSRV() Generate a valid connection string for this instance (for xprmsrv)
 -  getConnStringpublic java.lang.String getConnString() Generate a valid connection string for this instance (default mode)
 -  waitIsReadypublic boolean waitIsReady(int delay, boolean verbose)Wait until the instance to be ready to process connections- Parameters:
- 
         delay- maximum wait time
- 
         verbose- iftruea dot is displayed avey 5sec
- Returns:
- 
         trueif the instance is ready
 
 -  updatepublic void update() Update instance information
 -  statetextpublic static java.lang.String statetext(int s) Return the text corresponding to an instance state- Parameters:
- 
         s- state as a numeric code
- Returns:
- text associated to the state
 
 -  statetextpublic java.lang.String statetext() Return the text corresponding to the state of this instance- Returns:
- text associated to the state
 
 -  terminatepublic void terminate() throws java.io.IOExceptionTerminate this instance- Throws:
- 
         java.io.IOException
 
 
-  
 
-  
        
© 2001-2021 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
 
