稳定组成这个文件优化
This commit is contained in:
+7
@@ -55,6 +55,13 @@ public class TransientPayloadStorageService {
|
||||
return store("task-chunk", moduleType, taskId, scopeHash, entryKey, content, true);
|
||||
}
|
||||
|
||||
public String storeChunkPayloadVersioned(String moduleType, Long taskId, String scopeHash, Integer chunkIndex, String content) {
|
||||
String entryKey = chunkIndex == null
|
||||
? UUID.randomUUID().toString()
|
||||
: "chunk-" + chunkIndex + "-" + UUID.randomUUID();
|
||||
return store("task-chunk", moduleType, taskId, scopeHash, entryKey, content, true);
|
||||
}
|
||||
|
||||
public String resolvePayload(String value, String errorMessage) {
|
||||
String pointer = extractPointer(value);
|
||||
if (pointer == null) {
|
||||
|
||||
Reference in New Issue
Block a user