| java.lang.Object org.jgroups.tests.stack.Utilities
Utilities | public class Utilities (Code) | | Utility functions shared by stack tests.
author: Ovidiu Feodorov version: $Revision: 1.10 $ since: 2.2.1 |
Field Summary | |
static Log | log |
getFreePort | public static int getFreePort() throws Exception(Code) | | Returns a port we can bind to.
|
startGossipRouter | public static int startGossipRouter() throws Exception(Code) | | |
startGossipRouter | public static int startGossipRouter(long expiryTime) throws Exception(Code) | | |
startGossipRouter | public static int startGossipRouter(long expiryTime, String bind_addr) throws Exception(Code) | | |
startGossipRouter | public static int startGossipRouter(long expiryTime, String bind_addr, long gossipRequestTimeout, long routingClientReplyTimeout) throws Exception(Code) | | Starts the router on a separate thread and makes sure it answers a dummy
GossipRouter.GET request.
the port GossipRouter is listening on. |
stopGossipRouter | public static void stopGossipRouter() throws Exception(Code) | | |
|
|