|
Kieker 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.common.util.registry.Lookup<E>
E - the type of the objectspublic final class Lookup<E>
| Constructor Summary | |
|---|---|
Lookup()
|
|
| Method Summary | |
|---|---|
int |
get(E value)
Gets a unique id for an object. |
E |
get(int i)
Gets the object associated with the unique id. |
E[] |
getAll()
Return an array with all registered objects. |
E |
getNonBlocking(int i)
|
int |
getSize()
Returns the number of registered objects. |
boolean |
set(E value,
int id)
Registers the object with the unique id. |
void |
setRecordReceiver(IMonitoringRecordReceiver recordReceiver)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Lookup()
| Method Detail |
|---|
public int get(E value)
IRegistry
get in interface IRegistry<E>value - the object
public E getNonBlocking(int i)
public E[] getAll()
IRegistry
getAll in interface IRegistry<E>public int getSize()
IRegistry
getSize in interface IRegistry<E>public E get(int i)
IRegistry
get in interface IRegistry<E>i - the unique id
public boolean set(E value,
int id)
ILookup
set in interface ILookup<E>value - the objectid - the unique id
@Deprecated public void setRecordReceiver(IMonitoringRecordReceiver recordReceiver)
IRegistry
setRecordReceiver in interface IRegistry<E>recordReceiver - the IMonitoringRecordReceiver logged to
|
Kieker 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||