public class MD5Stage extends AbstractFilter<String> implements ITaskFarmDuplicable<String,String>
outputPort
inputPort
logger
Constructor and Description |
---|
MD5Stage()
encoding = UTF-8
|
MD5Stage(Charset charset) |
MD5Stage(String encoding)
Deprecated.
As of 3.0. Use {
MD5Stage(Charset) instead. |
Modifier and Type | Method and Description |
---|---|
ITaskFarmDuplicable<String,String> |
duplicate()
Creates a new instance of the enclosed stage.
|
protected void |
execute(String element)
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
String |
getEncoding() |
getOutputPort
createInputPort, execute, getInputPort
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputPort, getOutputPort
public MD5Stage()
@Deprecated public MD5Stage(String encoding)
MD5Stage(Charset)
instead.encoding
- of the input strings for hashing algorithmpublic MD5Stage(Charset charset)
charset
- of the input strings for hashing algorithmAvailable charsets
protected void execute(String element)
AbstractConsumerStage
execute
in class AbstractConsumerStage<String>
element
- the next non-null element from the (only) input port of this stagepublic String getEncoding()
public ITaskFarmDuplicable<String,String> duplicate()
ITaskFarmDuplicable
duplicate
in interface ITaskFarmDuplicable<String,String>
Copyright © 2015–2020. All rights reserved.