|
Kieker 1.11 | |||||||||
| 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()
Create a new lookup entry. |
|
| 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)
Get a record from the underlying object array. |
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. This method is not supported by this implementation. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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)
i - the index for the array
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 - has no special property.public java.lang.String toString()
toString in class java.lang.Object
|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||