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

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


    } else {
      Transaction txn = null;
      try {
        txn = createTransaction(10 * 1000);
        try {
          JobInfo info = new JobInfo(appParams.getName(),
                                     JobType.BATCH,
                                     name, userProperties.getLogin(),
                                     userProperties.getLogin(),
                                     new Random().nextInt());
          JobParams jp = new JobParams(info, -1,
View Full Code Here


  private static void emptyJobRepository(RMServer server)
  {
    try {
      Entry entry;
      Object ob;
      entry = new JobInfo();
      do {
        ob = server.space.take(entry, null,
                               JavaSpace.NO_WAIT);
      } while(ob != null);
      entry = new JobParams();
View Full Code Here

    try {
      txn = createTransaction(5 * 1000);
      try {
        jce = (JobControlEntry)
          space.takeIfExists(entry, txn, JavaSpace.NO_WAIT);
        JobInfo ji = jce.jobInfo;
        JobParams jp = (JobParams)
          space.takeIfExists(new JobParams(ji),
                     txn, JavaSpace.NO_WAIT);
        if(jp != null) {
          if(jp.submissionID != null) {
View Full Code Here

    displayJobInfo();
  }

  private void displayJobInfo()
  {
    JobInfo ji = jobService.getJobInfo();
    name.setText(ji.name);
    type.setText(ji.type.toString());
    userID.setText(ji.userID);
    groupID.setText(ji.groupID);
    queueName.setText(ji.queueName);
View Full Code Here

TOP

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

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.