Examples of Status


Examples of org.jboss.threads.AsyncFuture.Status

    //TODO this should be deleted once REM3-121 is available
    public boolean ping(long timeoutMs) {
        ManagementClientChannelStrategy channelStrategy = getChannelStrategy();
        AsyncFuture<Void> future = new PingRequest().execute(executorService, channelStrategy);
        try {
            Status status = future.await(timeoutMs, TimeUnit.MILLISECONDS);
            if (status == Status.WAITING) {
                return false;
            }
            return status == Status.COMPLETE;
        } catch (InterruptedException e) {
View Full Code Here

Examples of org.jbpm.task.Status

                TaskSummary taskSummary = (TaskSummary) obj;
                switch (index) {
                    case 0:
                        return taskSummary.getName();
                    case 1:
                        Status status = taskSummary.getStatus();
                        return status == null ? null : STATUSSES.get(status);
                    case 2:
                        User user = taskSummary.getActualOwner();
                        if (user == null) {
                            return null;
View Full Code Here

Examples of org.jclouds.compute.domain.NodeMetadata.Status

          // if this node belongs to the requested domain
          if (nodeIds.contains(nodeMetadata.getId())) {

            // get the status of the node
            Status nodeStatus = nodeMetadata.getStatus();

            // count nodes that are in pending state
            if (nodeStatus.equals(Status.PENDING)) {
              pendingInstanceCount++;
            }
          }

        }
View Full Code Here

Examples of org.jclouds.vcloud.director.v1_5.domain.ResourceEntity.Status

   /**
    * Power on a {@link VApp}.
    */
   protected VApp powerOnVApp(String vAppUrn) {
      VApp test = vAppApi.get(vAppUrn);
      Status status = test.getStatus();
      if (status != Status.POWERED_ON) {
         Task powerOn = vAppApi.powerOn(vAppUrn);
         assertTaskSucceedsLong(powerOn);
      }
      test = vAppApi.get(vAppUrn);
View Full Code Here

Examples of org.jdesktop.wonderland.runner.Runner.Status

    public void runnerAdded(Runner runner) {
        if (!(runner instanceof DarkstarRunnerImpl)) {
            return;
        }

        Status status = runner.addStatusListener(this);
        if (status == Status.RUNNING) {
            statusChanged(runner, status);
        }
    }
View Full Code Here

Examples of org.jivesoftware.smackx.filetransfer.FileTransfer.Status

              Thread.sleep(300);
            } catch (final InterruptedException e) {
              setErrorStatus(e);
              return;
            }
            final Status s = outgoingFileTransfer.getStatus();
            setStatus(s);
            final boolean negotiated = getStatus().equals(
                Status.negotiated);
            if (s.equals(Status.negotiated)
                || s.equals(Status.cancelled)
                || s.equals(Status.complete)
                || s.equals(Status.error)
                || s.equals(Status.refused)) {
              fireTransferListenerEvent(new IOutgoingFileTransferResponseEvent() {
                public boolean requestAccepted() {
                  return negotiated;
                }
View Full Code Here

Examples of org.jtester.core.testng.UserTestReporter.Status

      buff.append("<td style='text-align:left;'>");
      buff.append(method.getMethodName());
      buff.append("<br/>");
      buff.append(method.getClazzName());
      buff.append("</td>");
      Status status = method.getStatus();
      buff.append(String.format("<td class='%s'>%s</td>", status.css(), status.name()));
      buff.append(String.format("<td class='%s'>%d ms</td>", method.getSpeedCss(), method.getDuration()));
      buff.append("<td style='text-align:left;'>").append(method.getGroups()).append("</td>");
      buff.append("</tr>\n");
    }
View Full Code Here

Examples of org.kie.api.task.model.Status

public class ResourceBaseTest extends ResourceBase {

    @Test
    public void statusEnumTest() {
       for( Status testStatus : Status.values())  {
          Status roundTripStatus = getEnum(testStatus.toString().toLowerCase());
          assertEquals( testStatus + " incorrectly processed!", testStatus, roundTripStatus);
       }
    }
View Full Code Here

Examples of org.lightview.view.Status

        this.expiredSessions = new Snapshot(id, "Expired Sessions", "#");
        this.successfulTXPerf = new Snapshot(id, "Commits Per Second", "#");
        this.failedTXPerf = new Snapshot(id, "Rollbacks Per Second", "#");
        final Node liveStream = new SnapshotTable(this.dashboardPresenter.getSnapshots()).createTable();
        this.escalations = new Escalations(liveStream,this.dashboardPresenter.getEscalationsPresenterBindings());
        this.status = new Status(this.dashboardPresenter.getDeadlockedThreads());
    }
View Full Code Here

Examples of org.locationtech.geogig.rest.AsyncContext.Status

    }

    @Override
    protected void write(XMLStreamWriter w) throws XMLStreamException {
        final String taskId = cmd.getTaskId();
        final Status status = cmd.getStatus();
        final String description = cmd.getDescription();
        final Optional<UUID> transactionId = cmd.getTransactionId();
        checkNotNull(taskId);
        checkNotNull(status);
        w.writeStartElement("task");

        element(w, "id", taskId);
        element(w, "status", status.toString());
        if (transactionId.isPresent()) {
            element(w, "transactionId", transactionId.get().toString());
        }
        element(w, "description", description);
        String link = "tasks/" + taskId;// relative to baseURL (e.g. /geoserver/geogig)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.