public class MD5Stage extends AbstractFilter<String> implements ITaskFarmDuplicable<String,String>
outputPortinputPortlogger| 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() |
getOutputPortcreateInputPort, execute, getInputPortabort, 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, workCompletedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInputPort, getOutputPortpublic 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 charsetsprotected void execute(String element)
AbstractConsumerStageexecute 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()
ITaskFarmDuplicableduplicate in interface ITaskFarmDuplicable<String,String>Copyright © 2015–2020. All rights reserved.