|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.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 getpublic Entry getById(int nId)
nId
- the ID of the Entry to getpublic int getSize()
public Iterator iterator()
public void register(Entry entry) throws RegistryException
entry
- an Entry objectNullPointerException
- if the passed Entry is nullRegistryException
- if registration failsDuplicateIdException
- if the Entry ID is not uniqueDuplicateNameException
- if the Entry name is not uniqueInvalidIdException
- 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 objectRegistryException
public boolean equals(Object o)
public int hashCode()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |