org.mule.module.pgp
Class TransformContinuouslyPolicy
java.lang.Object
org.mule.module.pgp.AbstractTransformPolicy
org.mule.module.pgp.TransformContinuouslyPolicy
- All Implemented Interfaces:
- TransformPolicy
public class TransformContinuouslyPolicy
- extends AbstractTransformPolicy
A TransformPolicy
that copies the transformed bytes continuously into the PipedOutputStream
without taking into account about how many bytes the object has requested.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHUNK_SIZE
public static final long DEFAULT_CHUNK_SIZE
- See Also:
- Constant Field Values
TransformContinuouslyPolicy
public TransformContinuouslyPolicy()
TransformContinuouslyPolicy
public TransformContinuouslyPolicy(long chunkSize)
readRequest
public void readRequest(long length)
- Notifies this policy that the object has requested nroOfBytes
- Specified by:
readRequest
in interface TransformPolicy
- Overrides:
readRequest
in class AbstractTransformPolicy
- Parameters:
length
- the nro of bytes requested by the object
getCopyingThread
protected Thread getCopyingThread()
-
- Specified by:
getCopyingThread
in class AbstractTransformPolicy
- Returns:
- an instance of the copying
Thread
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.