E
- the type of the objectspublic interface IRegistry<E>
Modifier and Type | Method and Description |
---|---|
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.
|
long |
getId()
Gets the ID of this registry.
|
int |
getSize()
Returns the number of registered objects.
|
void |
setRecordReceiver(IRegistryRecordReceiver registryRecordReceiver)
Enables logging of newly registered objects.
|
long getId()
int get(E value)
value
- the objectE get(int i)
i
- the unique idE[] getAll()
int getSize()
void setRecordReceiver(IRegistryRecordReceiver registryRecordReceiver)
registryRecordReceiver
- the IRegistryRecordReceiver logged toCopyright 2017 Kieker Project, http://kieker-monitoring.net