File tree Expand file tree Collapse file tree
main/java/picoded/dstack/redis
test/java/picoded/dstack/redis Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030import org .redisson .codec .JsonJacksonCodec ;
3131import org .redisson .api .RedissonClient ;
3232import org .redisson .api .RMap ;
33- import org .redisson .api .RKeys ;
34-
35- // Jackson library used
36- import com .fasterxml .jackson .core .JsonParser ;
37- import com .fasterxml .jackson .databind .ObjectMapper ;
38- import com .fasterxml .jackson .core .util .DefaultPrettyPrinter ;
39- import com .fasterxml .jackson .core .util .DefaultIndenter ;
40- import com .fasterxml .jackson .databind .MapperFeature ;
41-
42- import org .hjson .*;
43-
4433
4534/**
4635 * Redis implementation of DataObjectMap data structure.
Original file line number Diff line number Diff line change 66
77import java .util .concurrent .ThreadLocalRandom ;
88
9+ <<<<<<< HEAD
910public class Redis_KeyLongMap_test extends StructSimple_KeyLongMap_test {
11+ =======
12+ public class RedisKeyLongMap_test extends StructSimple_KeyLongMap_test {
13+ >>>>>>> ba5858da6960b26e62926ee51c1e3f547b58774f
1014 // Redis stack instance
1115 protected static volatile RedisStack instance = null ;
1216
1317 /// Implementation constructor
1418 public KeyLongMap implementationConstructor () {
1519
1620 // Initialize server
21+ <<<<<<< HEAD
1722 synchronized (Redis_KeyLongMap_test .class ) {
23+ =======
24+ synchronized (RedisKeyLongMap_test .class ) {
25+ >>>>>>> ba5858da6960b26e62926ee51c1e3f547b58774f
1826 if (instance == null ) {
1927 // The default config uses "172.17.0.1" (default docker bridge address)
2028 // and port 6379 (default redis port)
@@ -34,6 +42,12 @@ public KeyLongMap implementationConstructor() {
3442 }
3543 }
3644 // Load the KeyLongMap
45+ <<<<<<< HEAD
3746 return instance .keyLongMap (DStackTestConfig .randomTablePrefix ());
3847 }
39- }
48+ }
49+ =======
50+ return instance .KeyLongMap (DStackTestConfig .randomTablePrefix ());
51+ }
52+ }
53+ >>>>>>> ba5858da6960b26e62926ee51c1e3f547b58774f
Original file line number Diff line number Diff line change 77import java .util .concurrent .ThreadLocalRandom ;
88
99
10+ <<<<<<< HEAD
1011public class Redis_KeyValueMap_test extends StructSimple_KeyValueMap_test {
12+ =======
13+ public class RedisKeyValueMap_test extends StructSimple_KeyValueMap_test {
14+ >>>>>>> ba5858da6960b26e62926ee51c1e3f547b58774f
1115 // Redis stack instance
1216 protected static volatile RedisStack instance = null ;
1317
1418 /// Implementation constructor
1519 public KeyValueMap implementationConstructor () {
1620
1721 // Initialize server
22+ <<<<<<< HEAD
1823 synchronized (Redis_KeyValueMap_test .class ) {
24+ =======
25+ synchronized (RedisKeyValueMap_test .class ) {
26+ >>>>>>> ba5858da6960b26e62926ee51c1e3f547b58774f
1927 if (instance == null ) {
2028 // The default config uses "172.17.0.1" (default docker bridge address)
2129 // and port 6379 (default redis port)
@@ -37,4 +45,8 @@ public KeyValueMap implementationConstructor() {
3745 // Load the KeyValueMap
3846 return instance .keyValueMap (DStackTestConfig .randomTablePrefix ());
3947 }
40- }
48+ <<<<<<< HEAD
49+ }
50+ =======
51+ }
52+ >>>>>>> ba5858da6960b26e62926ee51c1e3f547b58774f
You can’t perform that action at this time.
0 commit comments