Package de.otto.synapse.compaction.s3
Class SnapshotWriteService
java.lang.Object
de.otto.synapse.compaction.s3.SnapshotWriteService
public class SnapshotWriteService
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties)SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties, org.slf4j.Marker marker) -
Method Summary
Modifier and Type Method Description java.lang.StringwriteSnapshot(java.lang.String channelName, de.otto.synapse.channel.ChannelPosition position, de.otto.synapse.state.StateRepository<java.lang.String> stateRepository)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SnapshotWriteService
public SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties) -
SnapshotWriteService
public SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties, org.slf4j.Marker marker)
-
-
Method Details
-
writeSnapshot
public java.lang.String writeSnapshot(java.lang.String channelName, de.otto.synapse.channel.ChannelPosition position, de.otto.synapse.state.StateRepository<java.lang.String> stateRepository) throws java.io.IOException- Throws:
java.io.IOException
-