|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--rrdService.service.RoundRobinService
The class RoundRobinService is the implemtation of RoundRobinService
- RMI
RoundRobinServiceItf
, Serialized FormField Summary | |
private static RoundRobinLibraryItf |
homeRoundRobinLibrary
Ref on stub of homeRoundRobinLibrary |
static long |
imageGCClock
Time between two executions of th image grabage collector |
static LockTable |
lockTable
Table of lock on RoundRobin |
static java.lang.String |
rmi
|
private static java.lang.String |
serviceMountLibrary
Mount library of RoundRobinService |
private static int |
servicePort
Port of RoundRobinService |
static java.lang.String |
serviceURL
URL of RoundRobinService |
static java.util.TimeZone |
timeZone
time zone of reference for rrdService |
Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf |
Fields inherited from class java.rmi.server.RemoteServer |
log, logname |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
RoundRobinService()
Constructor of class RoundRobinService |
Method Summary | |
private static RoundRobinLibraryItf |
createHomeLibrary(java.lang.String path)
createHomeLibrary create the directory of the home library |
RoundRobinLibraryItf |
getServiceMountLibrary()
getServiceMountDirectory return the library of mount of RoundRobinService |
int |
getServicePort()
getServicePort return the port of RoundRobinService |
java.lang.String |
getServiceURL()
getServiceURL return the URL of RoundRobinService |
java.util.TimeZone |
getTimeZone()
getTimeZone returns the time zone of reference of the rrdService |
private static void |
initRoundRobinService(java.lang.String file)
InitRoundRobinService bind the RoundRobinService to the registry |
static void |
main(java.lang.String[] argv)
Main methode main of the RoundRobinService |
private static void |
PrintUsage()
Display usage of the command line |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
|
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub, writeObject |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
private static RoundRobinLibraryItf homeRoundRobinLibrary
public static long imageGCClock
public static LockTable lockTable
public static java.lang.String rmi
private static java.lang.String serviceMountLibrary
private static int servicePort
public static java.lang.String serviceURL
public static java.util.TimeZone timeZone
Constructor Detail |
public RoundRobinService() throws java.rmi.RemoteException
Method Detail |
private static RoundRobinLibraryItf createHomeLibrary(java.lang.String path) throws java.lang.Exception
path
- the path of the home librarypublic RoundRobinLibraryItf getServiceMountLibrary() throws java.rmi.RemoteException
getServiceMountLibrary
in interface RoundRobinServiceItf
public int getServicePort() throws java.rmi.RemoteException
getServicePort
in interface RoundRobinServiceItf
public java.lang.String getServiceURL() throws java.rmi.RemoteException
getServiceURL
in interface RoundRobinServiceItf
public java.util.TimeZone getTimeZone() throws java.rmi.RemoteException
getTimeZone
in interface RoundRobinServiceItf
private static void initRoundRobinService(java.lang.String file) throws java.lang.Exception
file
- the file of configpublic static void main(java.lang.String[] argv)
argv:
- the string array which is the command lineprivate static void PrintUsage()
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |