live.threads
Class ThreadedZVMTasks.SharedStorageAccessAdd
java.lang.Object
java.lang.Thread
live.threads.ThreadedUserAction
live.threads.ThreadedZVMTasks.SharedStorageAccessAdd
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadedZVMTasks
- public static class ThreadedZVMTasks.SharedStorageAccessAdd
- extends ThreadedUserAction
Grants a guest access to a shared storage segment
Wraps (@link live.zvmtasks.ZVMTasks#sharedStorageAccessAdd(String, String)}.
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 |
guestName
private String guestName
segmentName
private String segmentName
ThreadedZVMTasks.SharedStorageAccessAdd
public ThreadedZVMTasks.SharedStorageAccessAdd(ThreadInitInfo initInfo,
String guestName,
String segmentName)
- Creates an action that will call
(@link live.zvmtasks.ZVMTasks#sharedStorageAccessAdd(String, String)}.
- Parameters:
initInfo
- The ThreadInitInfo objectguestName
- Name of the guest to addsegmentName
- Name of the segment to grant access for
runImpl
protected void runImpl()
throws ZVMTasksException
- Calls (@link live.zvmtasks.ZVMTasks#sharedStorageAccessAdd(String, String)}.
- 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 SavedSegment
s,
an exception, or null if that call
hasn't completed.
- Specified by:
rawResult
in class ThreadedUserAction
- Returns:
- A list of SavedSegment DTOs, an exception, or null
Copyright © 2005