Closed xudaren closed 1 year ago
@tangyang9464 @imp2002
maybe should implement Dispatcher
package org.casbin.jcasbin.persist;
import java.util.List;
public interface Dispatcher {
void addPolicies(String var1, String var2, List<List
void removePolicies(String var1, String var2, List<List<String>> var3);
void removeFilteredPolicy(String var1, String var2, int var3, String... var4);
void clearPolicy();
void updatePolicy(String var1, String var2, List<String> var3, List<String> var4);
}
public class RedisAdapter implements Adapter, BatchAdapter
@OutOfEastGate
the performance can be further improved
Originally posted by @xudaren in https://github.com/jcasbin/redis-adapter/issues/14#issuecomment-1316164788
Otherwise, there are too many network interactions