org.gcube.dataanalysis.executor.plugin
Class GenericWorkerPlugin
java.lang.Object
org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.vremanagement.executor.state.TaskRuntime>
org.gcube.dataanalysis.executor.plugin.GenericWorkerPlugin
- All Implemented Interfaces:
- org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.vremanagement.executor.state.TaskRuntime>, org.gcube.common.core.utils.handlers.lifetime.Lifetime<org.gcube.vremanagement.executor.state.TaskRuntime>, org.gcube.vremanagement.executor.plugin.ExecutorTask
public class GenericWorkerPlugin
- extends org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.vremanagement.executor.state.TaskRuntime>
- implements org.gcube.vremanagement.executor.plugin.ExecutorTask
| Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
handled, logger, producer |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gcube.common.core.utils.handlers.lifetime.Lifetime |
getState |
| Methods inherited from interface org.gcube.common.core.utils.handlers.GCUBEIHandler |
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribe |
activeT
public static Consumer activeT
qWatcher
public static QueueWatcher qWatcher
sessionBlackList
public static Hashtable<String,String> sessionBlackList
processing
public static Boolean processing
creating
public static Boolean creating
GenericWorkerPlugin
public GenericWorkerPlugin()
stop
public void stop()
throws UnsupportedOperationException,
Exception
- Specified by:
stop in interface org.gcube.vremanagement.executor.plugin.ExecutorTask
- Throws:
UnsupportedOperationException
Exception
run
public void run()
throws Exception
- Specified by:
run in interface org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.vremanagement.executor.state.TaskRuntime>- Specified by:
run in class org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.vremanagement.executor.state.TaskRuntime>
- Throws:
Exception
setProcessing
public static void setProcessing(boolean state)
getProcessing
public static boolean getProcessing()
getCreating
public static boolean getCreating()
setCreating
public static void setCreating(boolean state)
resetWatcher
public static void resetWatcher()
resetAll
public void resetAll()
Copyright © 2013. All Rights Reserved.