public class ObjectRegistry extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ObjectRegistry.Entry  | 
| Constructor and Description | 
|---|
ObjectRegistry()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Clears the entire object registery 
 | 
ObjectRegistry.Entry | 
createEntry(Remote object,
           long objectId,
           LRMIMethod[] lrmiMethods)
Creates a new entry in this registry. 
 | 
ObjectRegistry.Entry | 
getEntryFromObject(Object object)
Returns the entry corresponding to the specified object. 
 | 
ObjectRegistry.Entry | 
getEntryFromObjectId(long objectId)  | 
ObjectRegistry.Entry | 
getEntryFromObjectIdIfExists(long objectId)
Returns the entry corresponding to the specified object id. 
 | 
boolean | 
isLastRegistrar(String protocol)
If protocol is not held by any other Object in this registry, the  
true is
 returned; otherwise, there is at least one protocol registration that is being used. | 
void | 
removeEntry(Remote object)
Removes the entry corresponding to the specified object. 
 | 
public boolean isLastRegistrar(String protocol)
true is
 returned; otherwise, there is at least one protocol registration that is being used.protocol - LRMI protocol of the transport layertrue if last registrar of this protocol.public ObjectRegistry.Entry createEntry(Remote object, long objectId, LRMIMethod[] lrmiMethods)
public ObjectRegistry.Entry getEntryFromObject(Object object)
public ObjectRegistry.Entry getEntryFromObjectIdIfExists(long objectId)
public ObjectRegistry.Entry getEntryFromObjectId(long objectId) throws NoSuchObjectException
NoSuchObjectExceptionpublic void removeEntry(Remote object)
public void clear()
Copyright © GigaSpaces.