Revision 8792 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/AutomaticDataSource.java
AutomaticDataSource.java | ||
---|---|---|
72 | 72 |
*/ |
73 | 73 |
if ((System.currentTimeMillis() - lastReset) > (DataSourceFactory.DEFAULT_DELAY / 2)) { |
74 | 74 |
//reset the timer |
75 |
logger.info("timer reset"); |
|
75 |
//logger.info("timer reset");
|
|
76 | 76 |
timer.resetTimer(); |
77 | 77 |
lastReset = System.currentTimeMillis(); |
78 | 78 |
} |
... | ... | |
81 | 81 |
|
82 | 82 |
// Se abre |
83 | 83 |
ds.start(); |
84 |
logger.info("timer start"); |
|
84 |
//logger.info("timer start");
|
|
85 | 85 |
|
86 | 86 |
// Se inicia el timer |
87 | 87 |
timer.schedule(new Task() { |
... | ... | |
114 | 114 |
opened = false; |
115 | 115 |
ds.stop(); |
116 | 116 |
|
117 |
logger.info("datasource closed"); |
|
117 |
//logger.info("datasource closed");
|
|
118 | 118 |
|
119 | 119 |
AutomaticDataSource.this.timer.cancelTimer(); |
120 | 120 |
AutomaticDataSource.this.timer = new Timer(); |
Also available in: Unified diff