|
|
@ -81,6 +81,8 @@ public class plasmaDHTChunk {
|
|
|
|
private long selectionStartTime = 0;
|
|
|
|
private long selectionStartTime = 0;
|
|
|
|
private long selectionEndTime = 0;
|
|
|
|
private long selectionEndTime = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private int transferFailedCounter = 0;
|
|
|
|
|
|
|
|
|
|
|
|
public indexContainer firstContainer() {
|
|
|
|
public indexContainer firstContainer() {
|
|
|
|
return indexContainers[0];
|
|
|
|
return indexContainers[0];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -313,4 +315,12 @@ public class plasmaDHTChunk {
|
|
|
|
if (this.selectionStartTime == 0 || this.selectionEndTime == 0) return -1;
|
|
|
|
if (this.selectionStartTime == 0 || this.selectionEndTime == 0) return -1;
|
|
|
|
return this.selectionEndTime-this.selectionStartTime;
|
|
|
|
return this.selectionEndTime-this.selectionStartTime;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void incTransferFailedCounter() {
|
|
|
|
|
|
|
|
this.transferFailedCounter++;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getTransferFailedCounter() {
|
|
|
|
|
|
|
|
return transferFailedCounter;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|