Exemple #1
0
 @Override
 public Set<String> lookup(String eventType) {
   return redis.getMembers(eventType + RedisConsts.E_FOLLOWER_SURFIX);
 }
Exemple #2
0
 @Override
 public void release() {
   redis.returnClient();
 }
Exemple #3
0
 public RedisLocator() {
   redis = RedisClient.getClient();
 }