Class PropertiesLogWorker
- java.lang.Object
-
- com.levigo.jadice.server.core.NodeWorker<PropertiesLogNode>
-
- com.levigo.jadice.server.nodes.worker.PropertiesLogWorker
-
- All Implemented Interfaces:
QualifiedLogEventReceiver
,WorkerController<PropertiesLogNode>
,Runnable
public class PropertiesLogWorker extends NodeWorker<PropertiesLogNode>
-
-
Field Summary
Fields Modifier and Type Field Description static String
JOB_ID_KEY
This is a reserved key that identifies the job#s UUID as "job poperty".static String
PROPERTY_DEFAULT_VALUE
This value serves as default value in job templates since it isn't possible to define null as values in such templates.
-
Constructor Summary
Constructors Constructor Description PropertiesLogWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
work()
Implement this method to let the node perform some useful work.-
Methods inherited from class com.levigo.jadice.server.core.NodeWorker
abort, abortNow, addInputBundle, addOutputBundle, doAbort, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, initialize, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
-
-
-
-
Field Detail
-
JOB_ID_KEY
public static final String JOB_ID_KEY
This is a reserved key that identifies the job#s UUID as "job poperty".- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_VALUE
public static final String PROPERTY_DEFAULT_VALUE
This value serves as default value in job templates since it isn't possible to define null as values in such templates.- See Also:
- Constant Field Values
-
-
Method Detail
-
work
protected void work() throws Throwable
Description copied from class:NodeWorker
Implement this method to let the node perform some useful work.Implementors are free to throw whatever exception they see fit. If any
Throwable
is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.- Specified by:
work
in classNodeWorker<PropertiesLogNode>
- Throws:
Throwable
- in case of processing failure
-
-