Code Search for Developers
 
 
  

Result.java from GridBlocks at Krugle


Show Result.java syntax highlighted

/*
 * Copyright (c) 2005
 * Helsinki Institute of Physics
 * see LICENSE file for details
 *
 * Result.java
 * Created on 1.8.2005
 */
package fi.hip.gb.portlet.results;

import java.util.List;

/**
 * Represents a result of the job from the corresponding grid service
 * 
 * @author Antti Ahvenlampi
 * @version $Id: Result.java 476 2005-08-15 15:20:12Z ahvenlam $
 */
public interface Result {

	/**
	 * @return id of the job
	 */
	public Long getJobID();
	
	/**
	 * @return name of the job
	 */
	public String getJobName();
	
	/**
	 * @return execution state of the job
	 */
	public String getState();
	
	/**
	 * @return time when execution has started
	 */
	public String getStartTime();
	
	/**
	 * @return time when execution was finished
	 */
	public String getEndTime();	

	/**
	 * @return total execution time
	 */
	public String getExecutionTime();
	
	/**
	 * @return how many parts has been executed already / total number of parts. example: 8 / 10 
	 */
	public String getParts();
	
	/**
	 * @return list of the result files
	 */
	public List getResultFiles();
	
	/**
	 * Removes result from the server
	 * 
	 * @throws ResultException
	 */
	public void remove() throws ResultException;
}




See more files for this project here

GridBlocks

GridBlocks builds a grid application framework via easy-to-use building blocks in distributed environment. The framework offers components for Grid security, distributed storage, computing, and Portlet web interfaces.

Project homepage: http://sourceforge.net/projects/gridblocks
Programming language(s): Java,JSP,XML
License: other

  agent/
    AgentResult.java
    AgentResultFile.java
    AgentResultFinder.java
  Result.java
  ResultComparator.java
  ResultException.java
  ResultFile.java
  ResultFindController.java
  ResultFinder.java