@Test public void set() { redisSequenceCounter.set(10); Long data = redisSequenceCounter.get(); assertTrue(data.equals(10L)); }
@Override public void set(long value) { valueOperations.set(counterKey, String.valueOf(value)); }
RedisSequenceCounter implements SequenceCounter { @Override public void set(long value) { valueOperations.set(counterKey, String.valueOf(value)); } }
RedisSequenceCounter implements SequenceCounter { @Override public void set(long value) { valueOperations.set(counterKey, String.valueOf(value)); } RedisSequenceCounter(String counterKey); }
RedisSequenceCounter implements SequenceCounter { @Override public void set(long value) { valueOperations.set(counterKey, String.valueOf(value)); } RedisSequenceCounter(String counterKey); @Override void set(long value); @Override Long get(); @Override long incrementAndGet(); @Override long increBy(long delta); }
RedisSequenceCounter implements SequenceCounter { @Override public void set(long value) { valueOperations.set(counterKey, String.valueOf(value)); } RedisSequenceCounter(String counterKey); @Override void set(long value); @Override Long get(); @Override long incrementAndGet(); @Override long increBy(long delta);  }