Class ExecutionEnvironmentRepository

java.lang.Object
kieker.model.repository.AbstractRepository
kieker.model.repository.ExecutionEnvironmentRepository

public class ExecutionEnvironmentRepository
extends AbstractRepository
Since:
1.1
Author:
Andre van Hoorn
  • Field Details

  • Constructor Details

  • Method Details

    • lookupExecutionContainerByNamedIdentifier

      public final ExecutionContainer lookupExecutionContainerByNamedIdentifier​(java.lang.String namedIdentifier)
      Parameters:
      namedIdentifier - The identifier to search for.
      Returns:
      The instance for the passed namedIdentifier; null if no instance with this namedIdentifier.
    • lookupExecutionContainerByContainerId

      public final ExecutionContainer lookupExecutionContainerByContainerId​(int containerId)
      Returns the instance for the passed container ID; null if no instance with this ID.
      Parameters:
      containerId - The ID to search for.
      Returns:
      The container for the given ID if it exists; null otherwise.
    • createAndRegisterExecutionContainer

      public final ExecutionContainer createAndRegisterExecutionContainer​(java.lang.String namedIdentifier, java.lang.String name)
      This method creates a new execution container and registers it as well.
      Parameters:
      namedIdentifier - The identifier of the new container.
      name - The name of the new container.
      Returns:
      The newly created execution container.
    • getExecutionContainers

      public final java.util.Collection<ExecutionContainer> getExecutionContainers()
      Delivers all available execution containers.
      Returns:
      A collection containing the available containers.