Package com.twitter.hraven

Examples of com.twitter.hraven.FlowQueueKey


  private void changeFlowQueueStatus(Flow.Status status) throws IOException {
    LOG.info(String.format("Changing flowQueueStatus from %s to %s",
        flowQueueKey.getStatus(), status));

    FlowQueueKey newQueueKey = new FlowQueueKey(flowQueueKey.getCluster(), status,
        flowQueueKey.getTimestamp(), flowQueueKey.getFlowId());
    hRavenPool.submit(new HRavenQueueRunnable(flowQueueService, flowQueueKey, newQueueKey));
    flowQueueKey = newQueueKey;
  }
View Full Code Here


    flowKey = new FlowKey(cluster, username, appId, System.currentTimeMillis());

    // create a new flow queue entry
    UUID uuid = UUID.randomUUID();
    flowQueueKey = new FlowQueueKey(cluster, Flow.Status.RUNNING,
        System.currentTimeMillis(), uuid.toString());
    initialized = true;
  }
View Full Code Here

TOP

Related Classes of com.twitter.hraven.FlowQueueKey

Copyright © 2018 www.massapicom. 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.