org.gcube.dataanalysis.executor.plugin
Class GenericWorkerPlugin1

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.vremanagement.executor.state.TaskRuntime>
      extended by org.gcube.dataanalysis.executor.plugin.GenericWorkerPlugin1
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 GenericWorkerPlugin1
extends org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.vremanagement.executor.state.TaskRuntime>
implements org.gcube.vremanagement.executor.plugin.ExecutorTask


Field Summary
static Hashtable<String,Producer> activePs
           
static Hashtable<String,Consumer> activeTs
           
static Boolean processing
           
static Hashtable<String,String> qBlackList
           
static Hashtable<String,QueueWatcher> qWatchers
           
 
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
handled, logger, producer
 
Constructor Summary
GenericWorkerPlugin1()
           
 
Method Summary
static void eraseTopic(String topicName)
           
static boolean getProcessing()
           
 void run()
           
static void setProcessing(boolean state)
           
 void stop()
           
 
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
 

Field Detail

activeTs

public static Hashtable<String,Consumer> activeTs

activePs

public static Hashtable<String,Producer> activePs

qWatchers

public static Hashtable<String,QueueWatcher> qWatchers

qBlackList

public static Hashtable<String,String> qBlackList

processing

public static Boolean processing
Constructor Detail

GenericWorkerPlugin1

public GenericWorkerPlugin1()
Method Detail

stop

public void stop()
          throws UnsupportedOperationException,
                 Exception
Specified by:
stop in interface org.gcube.vremanagement.executor.plugin.ExecutorTask
Throws:
UnsupportedOperationException
Exception

setProcessing

public static void setProcessing(boolean state)

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

eraseTopic

public static void eraseTopic(String topicName)
                       throws Exception
Throws:
Exception

getProcessing

public static boolean getProcessing()


Copyright © 2012. All Rights Reserved.