|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.ServerIdFactory
The aim of this class is to generate unique IDs to identify an instance of a clustered server. The IDs generated by this class are guaranteed to be unique on the whole network. To generate an ID, time may be needed, because they can be generated by locking a well know resource for a period of time.
Constructor Summary | |
ServerIdFactory()
Constructs the factory |
Method Summary | |
ClusterId |
getLocalId()
Get the local cluster Id. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerIdFactory() throws ServerConfigException
ServerConfigException
- if an exception is encounteredMethod Detail |
public ClusterId getLocalId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |