|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nitido.nim.NiMKernelService
com.nitido.nim.UniqueIdService
public abstract class UniqueIdService
The UniqueIdService is the NiMKernel module responsible for generating unique identifiers within a cluster of NiM nodes.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
UniqueIdService(NiMKernelServiceVisa visa)
This class constructor is used by NiMKernel to instantiate a new UniqueIdService |
|
| Method Summary | |
|---|---|
abstract java.lang.String |
generateUniqueId()
This method returns a unique identifier for each method invocation. |
protected abstract void |
init(NiMKernel kernel,
ConfigurationService confService)
This method is used to initialize the kernel service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueIdService(NiMKernelServiceVisa visa)
visa - Reference to the NiMKernelServiceVisa object required to
instantiate the service. This parameter is required to
ensure that only the NiMkernel can instantiate a reference
to this service.| Method Detail |
|---|
protected abstract void init(NiMKernel kernel,
ConfigurationService confService)
throws InitializationFailedException,
NiMException
NiMKernelService
init in class NiMKernelServicekernel - Reference to the NiMKernel object that instantiated the
service.confService - A reference to the configuration service. All the service
implementations (except ConfigurationService)
should retrieve the setting information from it.
InitializationFailedException - If unable to initialize the kernel service.
NiMException - If service initialization can not be done due to failure in
establish a connection to the back-end service. Not all
service implementation will throw this exception.public abstract java.lang.String generateUniqueId()
|
Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.