Class ComputeEngineComputer

    • Method Detail

      • getPreemptible

        public boolean getPreemptible()
        Check if instance is preemptible.
        Returns:
        true if instance was set as preemptible.
      • getPreempted

        public boolean getPreempted()
        Check if instance was actually preempted.
        Returns:
        true if instance was preempted (we can use it to reschedule job in this case).
      • getNumExecutorsStr

        public String getNumExecutorsStr()
      • setNumExecutorsStr

        @DataBoundSetter
        public void setNumExecutorsStr​(String value)
      • getInstance

        public com.google.api.services.compute.model.Instance getInstance()
                                                                   throws IOException
        Returns a cached representation of the Instance
        Returns:
        Throws:
        IOException
      • refreshInstance

        public com.google.api.services.compute.model.Instance refreshInstance()
                                                                       throws IOException
        Throws:
        IOException
      • getInstanceStatus

        public String getInstanceStatus()
                                 throws IOException
        Returns the most current status of the Instance as reported by the GCE API
        Returns:
        Throws:
        IOException