Package com.sun.grid.jam.job.entry

Examples of com.sun.grid.jam.job.entry.JobControlEntry


    action.setText(ac.toString());
  }
 
  public void updateInfo()
  {
    JobControlEntry jce = jobService.getJobControlEntry();
    if(jce != null) {
      JobStatus st = jce.jobStatus;
      JobAction ac = jce.jobAction;
      displayJobControlEntry(st, ac);
      setMonitorState(st, ac);
View Full Code Here


    }

    for(int i = 0; i < queues.length; i++) {
      // Add queue-specific JobRepository listeners
      String qname = queues[i].getName();
      submitAction = space.snapshot(new
            JobControlEntry(JobAction.SUBMIT, qname));
      suspendAction = space.snapshot(new
             JobControlEntry(JobAction.SUSPEND, qname));
      resumeAction = space.snapshot(new
            JobControlEntry(JobAction.RESUME, qname));
      restartAction = space.snapshot(new
             JobControlEntry(JobAction.RESTART, qname));
      stopAction = space.snapshot(new
                                  JobControlEntry(JobAction.STOP, qname));
      startAction = space.snapshot(new
           JobControlEntry(JobAction.START, qname));
      killedStatus = space.snapshot(new
            JobControlEntry(JobStatus.KILLED, qname));
      submissionListener = new SubmissionListener();
      suspendListener = new SuspendRequestListener();
      resumeListener = new ResumeRequestListener();
      restartListener = new RestartRequestListener();
View Full Code Here

    return trc.transaction;
  }

  private void changeJobState(Entry entry)
  {
    JobControlEntry jce;
    Transaction txn;
    try {
      txn = createTransaction(5 * 1000);
      jce = (JobControlEntry)
        space.takeIfExists(entry, txn, JavaSpace.NO_WAIT);
View Full Code Here

    }
  }
 
  private void submit(Entry entry)
  {
    JobControlEntry jce;
    Transaction txn;
    try {
      txn = createTransaction(5 * 1000);
      try {
        jce = (JobControlEntry)
View Full Code Here

    return jcod.getID();
  }

  private void start(Entry entry)
  {
    JobControlEntry jce;
    Transaction txn;
    try {
      txn = createTransaction(5 * 1000);
      try {
        jce = (JobControlEntry)
View Full Code Here

    }
  }

  private void delete(Entry entry)
  {
    JobControlEntry jce;
    Transaction txn;
    try {
      txn = createTransaction(5 * 1000);
      try {
        jce = (JobControlEntry)
View Full Code Here

    }
  }

  private void cleanJobResource(Entry entry)
  {
    JobControlEntry jce;
    Transaction txn;
    try {
      txn = createTransaction(5 * 1000);
      try {
        jce = (JobControlEntry)
View Full Code Here

TOP

Related Classes of com.sun.grid.jam.job.entry.JobControlEntry

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.