boolean tieToLeaseExpected)
throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
{
Field field = Client.class.getDeclaredField("connectionValidator");
field.setAccessible(true);
ConnectionValidator validator = (ConnectionValidator) field.get(client);
field = ConnectionValidator.class.getDeclaredField("pingPeriod");
field.setAccessible(true);
long pingPeriod = ((Long)field.get(validator)).longValue();
field = ConnectionValidator.class.getDeclaredField("pingTimeout");
field.setAccessible(true);