Don't make this static. Instead add an accessor in ConnectionQueryServices. This is per cluster, so it'll be calculated the first time you connect to a cluster.