Skip navigation links


com.essbase.eas.server.fireforget
Class Work

java.lang.Object
  extended by com.essbase.eas.server.fireforget.Work

All Implemented Interfaces:
java.lang.Runnable

public class Work
extends java.lang.Object
implements java.lang.Runnable

Work Executes Payload of Fire-and-Forget. Maintains information about status.

Version:
1.00 07/18/2000
Author:
Brendan Gaul

Nested Class Summary
static interface Work.ITaskCompleted
           

 

Field Summary
static java.lang.String COMPLETED
           
static java.lang.String FAILED
           
static java.lang.String INQUEUE
           
static java.lang.String INTERRUPTED
           
static java.lang.String PENDING
           
static java.lang.String STARTED
           

 

Constructor Summary
Work(java.lang.String userID, java.lang.String startTime, java.lang.String finishTime, java.lang.String status, java.lang.String actionName, java.lang.String title, java.lang.Object object, java.lang.String source, java.lang.String methodName, java.lang.Object[] args, boolean isObjIDAsArg, java.lang.String target, Work.ITaskCompleted onTaskCompletion)
           

 

Method Summary
 boolean doWork()
          doWork consists of constructing and invoking a method call from off of the work queue.
 java.lang.String getActionName()
           
 java.lang.Object[] getArguments()
           
 java.lang.String getMethodName()
           
 java.lang.Object getObject()
           
 java.lang.String getObjectID()
           
 java.lang.Object getResult()
           
 java.lang.String getStatus()
           
 java.lang.String getUniqueId()
           
 boolean isCompleted()
           
 boolean isStarted()
           
 void run()
           
 void setMarkedForDeletion(boolean markedForDeletion)
           
 void setStatus(java.lang.String s)
           
 void updateStatusinRegistryDAO()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

STARTED

public static final java.lang.String STARTED
See Also:
Constant Field Values

COMPLETED

public static final java.lang.String COMPLETED
See Also:
Constant Field Values

PENDING

public static final java.lang.String PENDING
See Also:
Constant Field Values

FAILED

public static final java.lang.String FAILED
See Also:
Constant Field Values

INQUEUE

public static final java.lang.String INQUEUE
See Also:
Constant Field Values

INTERRUPTED

public static final java.lang.String INTERRUPTED
See Also:
Constant Field Values

Constructor Detail

Work

public Work(java.lang.String userID,
            java.lang.String startTime,
            java.lang.String finishTime,
            java.lang.String status,
            java.lang.String actionName,
            java.lang.String title,
            java.lang.Object object,
            java.lang.String source,
            java.lang.String methodName,
            java.lang.Object[] args,
            boolean isObjIDAsArg,
            java.lang.String target,
            Work.ITaskCompleted onTaskCompletion)

Method Detail

getResult

public java.lang.Object getResult()

getObjectID

public java.lang.String getObjectID()

getActionName

public java.lang.String getActionName()

getObject

public java.lang.Object getObject()

getMethodName

public java.lang.String getMethodName()

getArguments

public java.lang.Object[] getArguments()

getStatus

public java.lang.String getStatus()

setStatus

public void setStatus(java.lang.String s)

updateStatusinRegistryDAO

public void updateStatusinRegistryDAO()

doWork

public boolean doWork()
doWork consists of constructing and invoking a method call from off of the work queue.

isStarted

public boolean isStarted()

isCompleted

public boolean isCompleted()

setMarkedForDeletion

public void setMarkedForDeletion(boolean markedForDeletion)

run

public void run()
Specified by:
run in interface java.lang.Runnable

getUniqueId

public java.lang.String getUniqueId()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.