|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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 |
INSTANCESince the FlatRegistry contains no information, only one ever has to exist. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o) |
Entry |
getById(int nId)Get a Registry Entry by its ID. |
Entry |
getByName(java.lang.String sName)Get a Registry Entry by its name. |
int |
getSize()Determine the number of Entry items that are registered. |
int |
hashCode() |
java.util.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(java.lang.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 java.util.Iterator iterator()
public void register(Entry entry)
throws RegistryException
entry - an Entry objectjava.lang.NullPointerException - 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 range
public void unregister(Entry entry)
throws RegistryException
entry - an Entry objectRegistryExceptionpublic boolean equals(java.lang.Object o)
public int hashCode()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||