|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.util.AbstractKernelRunnable
com.sun.sgs.impl.service.nodemap.NodeMappingServerImpl.GetIdTask
static class NodeMappingServerImpl.GetIdTask
Task which gets an IdentityMO from a data service. This is a separate task so we can retrieve the result. An exception will be thrown if the IdentityMO is not found or the name binding doesn't exist.
| Constructor Summary | |
|---|---|
NodeMappingServerImpl.GetIdTask(DataService dataService,
String idkey)
Create a new instance. |
|
| Method Summary | |
|---|---|
IdentityMO |
getId()
The identity MO retrieved from the data store, or null if the task has not yet executed or there was an error while executing. |
void |
run()
Runs this KernelRunnable. |
| Methods inherited from class com.sun.sgs.impl.util.AbstractKernelRunnable |
|---|
getBaseTaskType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
NodeMappingServerImpl.GetIdTask(DataService dataService,
String idkey)
dataService - the data service to retrieve fromidkey - Identitifier key| Method Detail |
|---|
public void run()
KernelRunnable. If this is run by a
Scheduler that support re-try logic, and if an
Exception is thrown that implements
ExceptionRetryStatus then the Scheduler
will consult the shouldRetry method of the
Exception to see if this task should be re-run.
Get the IdentityMO.
NameNotBoundException - if no object is bound to the id
ObjectNotFoundException - if the object has been removedpublic IdentityMO getId()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||