114115116117118119120121122123124
} finally { if (service != null) { service.stop(); } } ValueParam paramTimeout = new ValueParam(); paramTimeout.setName(RPCServiceImpl.PARAM_DEFAULT_TIMEOUT); paramTimeout.setValue("fakeValue");
143144145146147148149150151152153
} finally { if (service != null) { service.stop(); } } ValueParam paramRetryTimeout = new ValueParam(); paramRetryTimeout.setName(RPCServiceImpl.PARAM_RETRY_TIMEOUT); paramRetryTimeout.setValue("fakeValue");
172173174175176177178179180181182
} finally { if (service != null) { service.stop(); } } ValueParam paramAllowFailover = new ValueParam(); paramAllowFailover.setName(RPCServiceImpl.PARAM_ALLOW_FAILOVER); paramAllowFailover.setValue("fakeValue");
191192193194195196197198199200201
} finally { if (service != null) { service.stop(); } } paramAllowFailover.setValue("TRUE"); try {
10591060106110621063106410651066106710681069
} finally { if (service != null) { service.stop(); } } } public static class MyService
12461247124812491250125112521253125412551256
{ service1.stop(); } if (service2 != null) { service2.stop(); } } } private static class MyListener implements TopologyChangeListener
207208209210211212213214215216217
} finally { if (service != null) { service.stop(); } } ValueParam paramClusterName = new ValueParam(); paramClusterName.setName(RPCServiceImpl.PARAM_CLUSTER_NAME);
225226227228229230231232233234235
} finally { if (service != null) { service.stop(); } } } public void testStates() throws Exception
312313314315316317318319320321322
} finally { if (service != null) { service.stop(); } } try { service.executeCommandOnAllNodes(foo, true);
578579580581582583584585586587588
} finally { if (service != null) { service.stop(); } } } public void testSeveralNodes() throws Exception