|
|
@ -126,7 +126,7 @@ public class FileCacheQueueScheduler implements Scheduler {
|
|
|
|
private void readCursorFile() throws IOException {
|
|
|
|
private void readCursorFile() throws IOException {
|
|
|
|
BufferedReader fileCursorReader = null;
|
|
|
|
BufferedReader fileCursorReader = null;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
new BufferedReader(new FileReader(getFileName(fileCursor)));
|
|
|
|
fileCursorReader = new BufferedReader(new FileReader(getFileName(fileCursor)));
|
|
|
|
String line;
|
|
|
|
String line;
|
|
|
|
//read the last number
|
|
|
|
//read the last number
|
|
|
|
while ((line = fileCursorReader.readLine()) != null) {
|
|
|
|
while ((line = fileCursorReader.readLine()) != null) {
|
|
|
|