public Injector<PoolConfig> getPoolConfigInjector() {
return this.poolConfig;
}
public Affinity getWeakAffinity() {
Group group = this.group.getOptionalValue();
return (group != null) && (group.getLocalNode().getSocketAddress() != null) ? new ClusterAffinity(group.getName()) : Affinity.NONE;
}