use of com.moilioncircle.redis.replicator.rdb.datatype.KeyStringValueSet in project rocketmq-externals by apache.
the class ProcessorTest method getKVCommandPair.
private KeyValuePair getKVCommandPair() {
KeyValuePair event = new KeyStringValueSet();
event.setValueRdbType(RDB_TYPE_SET);
event.setKey("mySet".getBytes());
Set<byte[]> values = new HashSet<>();
values.add("myValue".getBytes());
values.add("myValue2".getBytes());
event.setValue(values);
return event;
}
Aggregations