Package kieker.common.registry.writer
Interface IWriterRegistry<E>
- Type Parameters:
E- the type of the objects
- All Known Implementing Classes:
WriterRegistry
public interface IWriterRegistry<E>
A generic interface to assign unique IDs to objects.
- Since:
- 1.13
- Author:
- Hannes Strubel
-
Method Summary
-
Method Details
-
getId
long getId()Gets the ID of this registry.- Returns:
- The registry's ID
- Since:
- 1.13
-
getId
- Parameters:
value- a registered value- Returns:
- unique id
- Since:
- 1.13
-
register
- Parameters:
value- to be registered- Since:
- 1.13
-