@Override
	public void run() {
		while(true) {
			Map<String,Cache> map = CacheMap.CACHEMAP;
			Set<String> set = map.keySet();
			Iterator<String> it = set.iterator();
			while(it.hasNext()) {
				String key = it.next();
				Cache cache = map.get(key);
				long endtime = cache.getEndtime();
				long nowtime = System.currentTimeMillis();
				if(nowtime >= endtime) {
					CacheMap.CACHEMAP.remove(key);
				}
				try {
					Thread.sleep(10000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}
		}
		
	}