com.waveset.task
Class ADSyncRecoveryCollectorTask

java.lang.Object
  extended bycom.waveset.task.Executor
      extended bycom.waveset.task.ADSyncRecoveryCollectorTask

public class ADSyncRecoveryCollectorTask
extends Executor


Field Summary
protected static java.lang.String ARG_RESOURCE_NAME
           
protected static java.lang.String ATTR_HOST
           
protected static java.lang.String ATTR_HOSTS
           
protected static java.lang.String ATTR_TIME_RECORDED
           
protected static java.lang.String ATTR_USN
           
protected static java.lang.String ATTR_USN_LIST
           
 
Fields inherited from class com.waveset.task.Executor
_monitor, _suspendRequested, _terminateRequested, trace, XML_HEADER
 
Constructor Summary
ADSyncRecoveryCollectorTask()
           
 
Method Summary
 void execute(TaskContext ctx, TaskInstance task)
          Execute the task.
protected static boolean isUsingGC(Resource res)
           
protected static java.lang.String resolveConfigName(java.lang.String resourceName)
           
 
Methods inherited from class com.waveset.task.Executor
addExtendedResult, delete, doRealWork, getExtendedResult, getPool, isSuspendRequested, isTerminateRequested, println, processEvent, setPool, setSuspendRequested, setTerminateRequested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_USN

protected static final java.lang.String ATTR_USN
See Also:
Constant Field Values

ATTR_TIME_RECORDED

protected static final java.lang.String ATTR_TIME_RECORDED
See Also:
Constant Field Values

ATTR_USN_LIST

protected static final java.lang.String ATTR_USN_LIST
See Also:
Constant Field Values

ATTR_HOST

protected static final java.lang.String ATTR_HOST
See Also:
Constant Field Values

ATTR_HOSTS

protected static final java.lang.String ATTR_HOSTS
See Also:
Constant Field Values

ARG_RESOURCE_NAME

protected static final java.lang.String ARG_RESOURCE_NAME
See Also:
Constant Field Values
Constructor Detail

ADSyncRecoveryCollectorTask

public ADSyncRecoveryCollectorTask()
Method Detail

execute

public void execute(TaskContext ctx,
                    TaskInstance task)
Description copied from class: Executor
Execute the task. System resources are supplied through the context object. Task options and persistent task state is supplied through the task object. This method provides shell execution logic as a default. A subclass must feel perfectly free to override this logic if any part of the structure seems inappropriate. However, if satisfied with this structure, a subclass need only implement the abstract method doRealWork().

Overrides:
execute in class Executor
See Also:
Executor.doRealWork(TaskContext, TaskInstance)

isUsingGC

protected static boolean isUsingGC(Resource res)

resolveConfigName

protected static java.lang.String resolveConfigName(java.lang.String resourceName)