18 |
|
|
19 |
final static int CACHE_TIMEOUT = 300*1000; |
final static int CACHE_TIMEOUT = 300*1000; |
20 |
|
|
21 |
//List<StationBean> stations = new ArrayList<StationBean>(); |
|
22 |
AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT); |
AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT); |
23 |
|
|
24 |
|
|
100 |
return null; |
return null; |
101 |
} |
} |
102 |
} |
} |
103 |
|
|
104 |
|
@Override |
105 |
|
public void purgeOldEntries() { |
106 |
|
stationCache.purgeOldEntries(); |
107 |
|
} |
108 |
} |
} |