use of com.yahoo.jrt.slobrok.api.SlobrokList in project vespa by vespa-engine.
the class SlobrokClient method setSlobrokConnectionSpecs.
public void setSlobrokConnectionSpecs(String[] slobrokConnectionSpecs) {
if (equalsExistingSpec(slobrokConnectionSpecs))
return;
this.connectionSpecs = slobrokConnectionSpecs;
shutdown();
supervisor = new Supervisor(new Transport());
SlobrokList slist = new SlobrokList();
slist.setup(slobrokConnectionSpecs);
mirror = new Mirror(supervisor, slist);
freshMirror = true;
}
Aggregations