Kieker 1.12

kieker.monitoring.core.controller
Class RegistryController

java.lang.Object
  extended by kieker.monitoring.core.controller.AbstractController
      extended by kieker.monitoring.core.controller.RegistryController
All Implemented Interfaces:
IRegistryController

public final class RegistryController
extends AbstractController
implements IRegistryController

Since:
1.5
Author:
Jan Waller

Field Summary
 
Fields inherited from class kieker.monitoring.core.controller.AbstractController
monitoringController
 
Constructor Summary
protected RegistryController(Configuration configuration)
          Creates a new instance of this class using the given configuration to initialize the class.
 
Method Summary
protected  void cleanup()
          This method should clean up.
 java.lang.String getStringForUniqueId(int id)
          Gets a string for a unique id.
 IRegistry<java.lang.String> getStringRegistry()
          Gets the used IRegistry.
 int getUniqueIdForString(java.lang.String string)
          Gets a unique id for a string.
protected  void init()
          This method should to the initialization work.
 java.lang.String toString()
           
 
Methods inherited from class kieker.monitoring.core.controller.AbstractController
createAndInitialize, isTerminated, setMonitoringController, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistryController

protected RegistryController(Configuration configuration)
Creates a new instance of this class using the given configuration to initialize the class.

Parameters:
configuration - The configuration used to initialize this controller.
Method Detail

init

protected final void init()
Description copied from class: AbstractController
This method should to the initialization work.

Specified by:
init in class AbstractController

cleanup

protected final void cleanup()
Description copied from class: AbstractController
This method should clean up.

Specified by:
cleanup in class AbstractController

toString

public final java.lang.String toString()
Specified by:
toString in class AbstractController

getUniqueIdForString

public final int getUniqueIdForString(java.lang.String string)
Gets a unique id for a string.

Specified by:
getUniqueIdForString in interface IRegistryController
Parameters:
string - the string
Returns:
the unique id

getStringForUniqueId

public java.lang.String getStringForUniqueId(int id)
Gets a string for a unique id.

Specified by:
getStringForUniqueId in interface IRegistryController
Parameters:
id - the unique id
Returns:
the string

getStringRegistry

public IRegistry<java.lang.String> getStringRegistry()
Gets the used IRegistry.

Specified by:
getStringRegistry in interface IRegistryController
Returns:
the registry

Kieker 1.12

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