UNICORE Resource Broker Client Plugin
1.5α1

org.eurogrid.broker.client
Class BrokerRequest

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.pallas.unicore.requests.ObservableThread
              |
              +--org.eurogrid.broker.client.BrokerRequest
All Implemented Interfaces:
com.pallas.unicore.threadpool.IObservable, Runnable

public class BrokerRequest
extends com.pallas.unicore.requests.ObservableThread

A runnable Request sent to A Brokering Vsite

Version:
$Revision: 1.11 $, $Date: 2004/02/17 11:32:40 $
Author:
Jon MacLaren
See Also:
BrokerPlugin, JobConverter, Connection, ConsignForm, CheckQoS

Field Summary
static int POLL_INTERVAL
          How long to wait between polling the NJS for outcomes.
 
Fields inherited from class com.pallas.unicore.requests.ObservableThread
logger, theGenericObservable
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void run()
          Implementation of the broker request task.
 void setInterrupted(boolean interrupted)
          Sets the interrupted attribute of the ConsignAJO object
 
Methods inherited from class com.pallas.unicore.requests.ObservableThread
addObserver, deleteAllObservers, deleteObserver, notifyObservers
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POLL_INTERVAL

public static final int POLL_INTERVAL
How long to wait between polling the NJS for outcomes.

See Also:
Constant Field Values
Method Detail

run

public void run()
Implementation of the broker request task. This is called when the thread starts. It prepares the job, submits it, and sends results to the registered observers

Specified by:
run in interface Runnable
Overrides:
run in class Thread

setInterrupted

public void setInterrupted(boolean interrupted)
Sets the interrupted attribute of the ConsignAJO object

Parameters:
interrupted - The new interrupted value

UNICORE Resource Broker Client Plugin
1.5α1

Submit a bug or feature
Copyright © 2002-2004 University of Manchester, U.K. See license.terms for details.