Package io.csar

Interface Concerned

All Known Subinterfaces:
ConcernRegistry
All Known Implementing Classes:
ConcernedThreadGroup, ConcernRegistryThreadGroup, DecoratedConcernedThreadGroup, DefaultConcernRegistry

public interface Concerned
An object that can retrieve concernss.
Author:
Garret Wilson
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Concern>
    Optional<T>
    findConcern(Class<T> concernClass)
    Returns the concern for the given concern type.
  • Method Details

    • findConcern

      <T extends Concern> Optional<T> findConcern(@Nonnull Class<T> concernClass)
      Returns the concern for the given concern type.
      Type Parameters:
      T - The type of concern to retrieve.
      Parameters:
      concernClass - The class of concern to retrieve.
      Returns:
      The concern associated with the given class.