true, statName, System.currentTimeMillis() - timeAtStart);
}
String node = connection.getRemote().toString();
try {
ScalarisVM scalarisVm = new ScalarisVM(node);
String version = scalarisVm.getVersion();
return new ValueResult<String>(version, statName,
System.currentTimeMillis() - timeAtStart);
} catch (ConnectionException e) {
return new ValueResult<String>(false, "no connection to Scalaris node \"" + node + "\"",
true, statName, System.currentTimeMillis() - timeAtStart);