Prefer to use guava methods instead of reimplementing in opentsdb