Package de.otto.synapse.compaction.s3
Class SnapshotFileHelper
java.lang.Object
de.otto.synapse.compaction.s3.SnapshotFileHelper
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanexistsAndHasSize(Path path, long size) static StringgetSnapshotFileNamePrefix(String channelName) static InstantgetSnapshotTimestamp(String filename) static Stringstatic PathgetTempFile(String filename) static voidstatic voidremoveTempFiles(String filePattern)
-
Field Details
-
COMPACTION_FILE_EXTENSION
- See Also:
-
-
Method Details
-
getTempFile
-
getTempDir
-
existsAndHasSize
-
removeTempFiles
-
logDiskUsage
public static void logDiskUsage() -
getSnapshotFileNamePrefix
-
getSnapshotTimestamp
-