@@ -54,7 +54,7 @@ public void tearDown() throws Exception {
54
54
public void none () {
55
55
HashMap <Long , Object > map = new HashMap <>();
56
56
try (JedisPooled jedis = new JedisPooled (hnp , clientConfig .get (),
57
- new MapCSC (map , new AllowAndDenyListWithStringKeys (null , null , null , null )),
57
+ new MapClientSideCache (map , new AllowAndDenyListWithStringKeys (null , null , null , null )),
58
58
singleConnectionPoolConfig .get ())) {
59
59
control .set ("foo" , "bar" );
60
60
assertThat (map , Matchers .aMapWithSize (0 ));
@@ -67,7 +67,7 @@ public void none() {
67
67
public void whiteListCommand () {
68
68
HashMap <Long , Object > map = new HashMap <>();
69
69
try (JedisPooled jedis = new JedisPooled (hnp , clientConfig .get (),
70
- new MapCSC (map , new AllowAndDenyListWithStringKeys (singleton (Protocol .Command .GET ), null , null , null )),
70
+ new MapClientSideCache (map , new AllowAndDenyListWithStringKeys (singleton (Protocol .Command .GET ), null , null , null )),
71
71
singleConnectionPoolConfig .get ())) {
72
72
control .set ("foo" , "bar" );
73
73
assertThat (map , Matchers .aMapWithSize (0 ));
@@ -80,7 +80,7 @@ public void whiteListCommand() {
80
80
public void blackListCommand () {
81
81
HashMap <Long , Object > map = new HashMap <>();
82
82
try (JedisPooled jedis = new JedisPooled (hnp , clientConfig .get (),
83
- new MapCSC (map , new AllowAndDenyListWithStringKeys (null , singleton (Protocol .Command .GET ), null , null )),
83
+ new MapClientSideCache (map , new AllowAndDenyListWithStringKeys (null , singleton (Protocol .Command .GET ), null , null )),
84
84
singleConnectionPoolConfig .get ())) {
85
85
control .set ("foo" , "bar" );
86
86
assertThat (map , Matchers .aMapWithSize (0 ));
@@ -93,7 +93,7 @@ public void blackListCommand() {
93
93
public void whiteListKey () {
94
94
HashMap <Long , Object > map = new HashMap <>();
95
95
try (JedisPooled jedis = new JedisPooled (hnp , clientConfig .get (),
96
- new MapCSC (map , new AllowAndDenyListWithStringKeys (null , null , singleton ("foo" ), null )),
96
+ new MapClientSideCache (map , new AllowAndDenyListWithStringKeys (null , null , singleton ("foo" ), null )),
97
97
singleConnectionPoolConfig .get ())) {
98
98
control .set ("foo" , "bar" );
99
99
assertThat (map , Matchers .aMapWithSize (0 ));
@@ -106,7 +106,7 @@ public void whiteListKey() {
106
106
public void blackListKey () {
107
107
HashMap <Long , Object > map = new HashMap <>();
108
108
try (JedisPooled jedis = new JedisPooled (hnp , clientConfig .get (),
109
- new MapCSC (map , new AllowAndDenyListWithStringKeys (null , null , null , singleton ("foo" ))),
109
+ new MapClientSideCache (map , new AllowAndDenyListWithStringKeys (null , null , null , singleton ("foo" ))),
110
110
singleConnectionPoolConfig .get ())) {
111
111
control .set ("foo" , "bar" );
112
112
assertThat (map , Matchers .aMapWithSize (0 ));
0 commit comments