Constructor and Description |
---|
DeserializerStringRegistry(java.util.List<java.lang.String> values)
Creates a new deserializer string registry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(int i)
Gets the object associated with the unique id.
|
int |
get(java.lang.String value)
Gets a unique id for an object.
|
java.lang.String[] |
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.
|
public DeserializerStringRegistry(java.util.List<java.lang.String> values)
values
- The values to usepublic long getId()
IRegistry
public int get(java.lang.String value)
IRegistry
public java.lang.String get(int i)
IRegistry
public java.lang.String[] getAll()
IRegistry
public int getSize()
IRegistry
public void setRecordReceiver(IRegistryRecordReceiver registryRecordReceiver)
IRegistry
setRecordReceiver
in interface IRegistry<java.lang.String>
registryRecordReceiver
- the IRegistryRecordReceiver logged toCopyright 2017 Kieker Project, http://kieker-monitoring.net