|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.util.NullImplementation.NullFlatRegistry
public static class NullImplementation.NullFlatRegistry
A FlatRegistry that contains nothing.
Field Summary | |
---|---|
static NullImplementation.NullFlatRegistry |
INSTANCE
Since the FlatRegistry contains no information, only one ever has to exist. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Entry |
getById(int nId)
Get a Registry Entry by its ID. |
Entry |
getByName(String sName)
Get a Registry Entry by its name. |
int |
getSize()
Determine the number of Entry items that are registered. |
int |
hashCode()
|
Iterator |
iterator()
Obtain an Iterator of the Entry items in the registry. |
void |
register(Entry entry)
Register an Entry. |
void |
unregister(Entry entry)
Unregister an Entry. |
Field Detail |
---|
public static final NullImplementation.NullFlatRegistry INSTANCE
Method Detail |
---|
public Entry getByName(String sName)
sName
- the name of the Entry to get
public Entry getById(int nId)
nId
- the ID of the Entry to get
public int getSize()
public Iterator iterator()
public void register(Entry entry) throws RegistryException
entry
- an Entry object
NullPointerException
- if the passed Entry is null
RegistryException
- if registration fails
DuplicateIdException
- if the Entry ID is not unique
DuplicateNameException
- if the Entry name is not unique
InvalidIdException
- if the Entry ID is -1 and the registry
does not assign IDs, or if the ID is out
of rangepublic void unregister(Entry entry) throws RegistryException
entry
- an Entry object
RegistryException
public boolean equals(Object o)
public int hashCode()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |