Revision 20713 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/AutomaticDataSource.java
AutomaticDataSource.java | ||
---|---|---|
80 | 80 |
*/ |
81 | 81 |
if ((System.currentTimeMillis() - lastReset) > (DataSourceFactory.DEFAULT_DELAY / 2)) { |
82 | 82 |
//reset the timer |
83 |
logger.info("timer reset"); |
|
83 |
// logger.info("timer reset");
|
|
84 | 84 |
timer.resetTimer(); |
85 | 85 |
lastReset = System.currentTimeMillis(); |
86 | 86 |
} |
... | ... | |
93 | 93 |
} catch (ReadDriverException e1) { |
94 | 94 |
throw new OpenDriverException(getName(),e1); |
95 | 95 |
} |
96 |
logger.info("timer start"); |
|
96 |
// logger.info("timer start");
|
|
97 | 97 |
|
98 | 98 |
// Se inicia el timer |
99 | 99 |
timer.schedule(new Task() { |
... | ... | |
130 | 130 |
throw new CloseDriverException(getName(),e); |
131 | 131 |
} |
132 | 132 |
|
133 |
logger.info("datasource closed"); |
|
133 |
// logger.info("datasource closed");
|
|
134 | 134 |
|
135 | 135 |
AutomaticDataSource.this.timer.cancelTimer(); |
136 | 136 |
AutomaticDataSource.this.timer = new Timer(); |
Also available in: Unified diff