gov.bnl.star.offline.scheduler.catalog
Class CatalogTask

java.lang.Object
  extended by java.lang.Thread
      extended by gov.bnl.star.offline.scheduler.util.Task
          extended by gov.bnl.star.offline.scheduler.catalog.CatalogTask
All Implemented Interfaces:
java.lang.Runnable

Deprecated. please see gov.bnl.star.offline.scheduler.dataset.* for replacements. Task to solve a catalog query. These task don't have a timeout.

public class CatalogTask
extends Task

Version:
$Revision: 1.10 $ $Date: 2006/11/21 00:41:31 $
Author:
Gabriele Carcassi

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class gov.bnl.star.offline.scheduler.util.Task
exitStatus
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CatalogTask(java.lang.Class catalogClass, CatalogQuery query)
          Deprecated. Creates a new task to execute the query.
 
Method Summary
 QueryResult getResult()
          Deprecated. Gets the result of the catalog query.
 void run()
          Deprecated.  
 
Methods inherited from class gov.bnl.star.offline.scheduler.util.Task
execute, getExitStatus
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Constructor Detail

CatalogTask

public CatalogTask(java.lang.Class catalogClass,
                   CatalogQuery query)
Deprecated. 
Creates a new task to execute the query. The catalogClass is there for future expansions.

Parameters:
catalogClass - the class of the catalog
query - the query
Method Detail

run

public void run()
Deprecated. 
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getResult

public QueryResult getResult()
Deprecated. 
Gets the result of the catalog query.

Returns:
null if no result is available


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.