Package network.oxalis.commons.persist
Class NoopPersister
- java.lang.Object
-
- network.oxalis.commons.persist.NoopPersister
-
- All Implemented Interfaces:
ExceptionPersister,PayloadPersister,PersisterHandler,ReceiptPersister
@Singleton public class NoopPersister extends Object implements PersisterHandler
Implementation to be used in protocol benchmarking. This implementation does not store incoming content and metadata.- Since:
- 4.0.0
- Author:
- erlend
-
-
Constructor Summary
Constructors Constructor Description NoopPersister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpersist(InboundMetadata inboundMetadata, Path payloadPath)Pathpersist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, InputStream inputStream)voidpersist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, Path payloadPath, Exception exception)
-
-
-
Method Detail
-
persist
public Path persist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, InputStream inputStream) throws IOException
- Specified by:
persistin interfacePayloadPersister- Throws:
IOException
-
persist
public void persist(InboundMetadata inboundMetadata, Path payloadPath)
- Specified by:
persistin interfaceReceiptPersister
-
persist
public void persist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, Path payloadPath, Exception exception)
- Specified by:
persistin interfaceExceptionPersister- Specified by:
persistin interfacePersisterHandler- Since:
- 4.0.3
-
-