Kieker 1.9

kieker.common.util.registry
Interface ILookup<E>

Type Parameters:
E - the type of the objects
All Superinterfaces:
IRegistry<E>
All Known Implementing Classes:
Lookup

public interface ILookup<E>
extends IRegistry<E>

A generic interface to query registered unique IDs of objects.

Since:
1.8
Author:
Jan Waller

Method Summary
 boolean set(E value, int id)
          Registers the object with the unique id.
 
Methods inherited from interface kieker.common.util.registry.IRegistry
get, get, getAll, getSize, setRecordReceiver
 

Method Detail

set

boolean set(E value,
            int id)
Registers the object with the unique id.

Parameters:
value - the object
id - the unique id
Returns:
false on duplicate id
Since:
1.8

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net