@Test public void testSet() { RBucket<byte[]> bucket = client.getBucket("test", ByteArrayCodec.INSTANCE); assertNull(bucket.get()); cache.set("test", "abcd".getBytes()); assertArrayEquals("abcd".getBytes(), bucket.get()); }
public void set(String key, byte[] value) { RBucket<byte[]> bucket = getClient().getBucket(key, ByteArrayCodec.INSTANCE); bucket.set(value); }
RedisCache extends AbstractRemoteCache { public void set(String key, byte[] value) { RBucket<byte[]> bucket = getClient().getBucket(key, ByteArrayCodec.INSTANCE); bucket.set(value); } }
RedisCache extends AbstractRemoteCache { public void set(String key, byte[] value) { RBucket<byte[]> bucket = getClient().getBucket(key, ByteArrayCodec.INSTANCE); bucket.set(value); } RedisCache(); }
RedisCache extends AbstractRemoteCache { public void set(String key, byte[] value) { RBucket<byte[]> bucket = getClient().getBucket(key, ByteArrayCodec.INSTANCE); bucket.set(value); } RedisCache(); byte[] get(String key); void set(String key, byte[] value); void set(String key, byte[] value, int expireIn); void delete(String key); Lock acquireLock(String lockName); @Override CheckResult checkConnection(); }
RedisCache extends AbstractRemoteCache { public void set(String key, byte[] value) { RBucket<byte[]> bucket = getClient().getBucket(key, ByteArrayCodec.INSTANCE); bucket.set(value); } RedisCache(); byte[] get(String key); void set(String key, byte[] value); void set(String key, byte[] value, int expireIn); void delete(String key); Lock acquireLock(String lockName); @Override CheckResult checkConnection();  }