diff options
Diffstat (limited to 'src/main/java/org/openslx/imagemaster/serverconnection/UploadingImageInfos.java')
-rw-r--r-- | src/main/java/org/openslx/imagemaster/serverconnection/UploadingImageInfos.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImageInfos.java b/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImageInfos.java index bf851bc..71e0b46 100644 --- a/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImageInfos.java +++ b/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImageInfos.java @@ -24,6 +24,9 @@ public class UploadingImageInfos * The missing blocks that need to be uploaded by the satellite. */ private List<Integer> missingBlocks; + // TODO: Do we have synchronization with the db yet? The list of missing blocks should + // be written to the DB periodically so when the server restarts we know which blocks are already + // complete... /** * The list of blocks that the satellite received last. * (This could be used to tell the CRCChecker to check these blocks. @@ -46,7 +49,8 @@ public class UploadingImageInfos this.crcFilename = crcFilename; } - protected void removeBlock( int number ) + protected void removeBlock!result ) { + /*( int number ) { this.missingBlocks.remove( number ); } |