@Test public void testCurrentVersion() { System.out.println(this.redisService.getCurrentVersion()); }
public long getCurrentVersion() { Object obj = this.redisTemplate.opsForValue().get(Constant.TRUNK_VERSIONS); return null == obj ? 0L : Long.valueOf(obj.toString()); }
RedisService { public long getCurrentVersion() { Object obj = this.redisTemplate.opsForValue().get(Constant.TRUNK_VERSIONS); return null == obj ? 0L : Long.valueOf(obj.toString()); } }
RedisService { public long getCurrentVersion() { Object obj = this.redisTemplate.opsForValue().get(Constant.TRUNK_VERSIONS); return null == obj ? 0L : Long.valueOf(obj.toString()); }  }
RedisService { public long getCurrentVersion() { Object obj = this.redisTemplate.opsForValue().get(Constant.TRUNK_VERSIONS); return null == obj ? 0L : Long.valueOf(obj.toString()); }  long getCurrentVersion(); long incrementVersion(); void report(Set<String> urls, Set<String> trunks, long version); Set<String> getTrunks(); void deleteTrunks(); }
RedisService { public long getCurrentVersion() { Object obj = this.redisTemplate.opsForValue().get(Constant.TRUNK_VERSIONS); return null == obj ? 0L : Long.valueOf(obj.toString()); }  long getCurrentVersion(); long incrementVersion(); void report(Set<String> urls, Set<String> trunks, long version); Set<String> getTrunks(); void deleteTrunks();  }