live.threads
Class ThreadedZVMTasks.ActiveImagesQuery

java.lang.Object
  extended byjava.lang.Thread
      extended bylive.threads.ThreadedUserAction
          extended bylive.threads.ThreadedZVMTasks.ActiveImagesQuery
All Implemented Interfaces:
Runnable
Enclosing class:
ThreadedZVMTasks

public static class ThreadedZVMTasks.ActiveImagesQuery
extends ThreadedUserAction

Gets a list of names of guests that are active. Wraps ZVMTasks.activeImagesQuery().


Nested Class Summary
 
Nested classes inherited from class live.threads.ThreadedUserAction
 
Field Summary
private  LinkedList images
           
 
Fields inherited from class live.threads.ThreadedUserAction
CANCELED, COMPLETE, done, ERROR, IN_PROGRESS, INDETERMINATE, PENDING, tasks
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ThreadedZVMTasks.ActiveImagesQuery(ThreadInitInfo initInfo)
          Creates an action that will call ZVMTasks.activeImagesQuery().
 
Method Summary
 String description()
          Returns a description of this task
 Object rawResult()
          Returns a LinkedList of Strings that are names of guests that are currently active, an exception thrown by activeImagesQuery, or null
protected  void runImpl()
          Calls ZVMTasks.activeImagesQuery().
 
Methods inherited from class live.threads.ThreadedUserAction
getCache, getException, getID, getStatus, getTimeFinished, getTimeStarted, init, init, isFinished, result, run, setCanceled, setComplete, setError, setError, setIndeterminate, setIndeterminate, setInProgress, startJoinForever, startJoinTimeout, startNoJoin, toString
 
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, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

images

private LinkedList images
Constructor Detail

ThreadedZVMTasks.ActiveImagesQuery

public ThreadedZVMTasks.ActiveImagesQuery(ThreadInitInfo initInfo)
Creates an action that will call ZVMTasks.activeImagesQuery().

Parameters:
initInfo - The ThreadInitInfo object
Method Detail

runImpl

protected void runImpl()
                throws ZVMTasksException
Calls ZVMTasks.activeImagesQuery().

Specified by:
runImpl in class ThreadedUserAction
Throws:
ZVMTasksException
See Also:
ThreadedUserAction.run()

description

public String description()
Returns a description of this task

Specified by:
description in class ThreadedUserAction
Returns:
String
See Also:
ThreadedUserAction.toString()

rawResult

public Object rawResult()
Returns a LinkedList of Strings that are names of guests that are currently active, an exception thrown by activeImagesQuery, or null

Specified by:
rawResult in class ThreadedUserAction
Returns:
A list of names of guests, an exception, or null


Copyright © 2005