|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.remote.RemoteUtils
public class RemoteUtils
This class provides some basic utilities for doing things such as starting the registry properly.
Method Summary | |
---|---|
static void |
configureGlobalCustomSocketFactory(int timeoutMillis)
Configure a custom socket factory to set the timeout value. |
static int |
createRegistry(int port)
Creates and exports a registry on the specified port of the local host. |
static Properties |
loadProps(String propFile)
Loads properties for the named props file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int createRegistry(int port) throws RemoteException
port
-
RemoteException
public static Properties loadProps(String propFile) throws IOException
propFile
-
IOException
public static void configureGlobalCustomSocketFactory(int timeoutMillis)
timeoutMillis
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |