Interface ThreadInfoMapper<T>

Type Parameters:
T - The type to be mapped into
All Known Implementing Classes:
DefaultThreadInfoMapper

@DefaultImplementation(DefaultThreadInfoMapper.class) public interface ThreadInfoMapper<T>
Responsible for converting the standard Java ThreadInfo class into another object for serialization.
Since:
1.2.0
Author:
James Kleeh
  • Method Details

    • mapThreadInfo

      Publisher<T> mapThreadInfo(Publisher<ThreadInfo> threads)
      Converts the given ThreadInfo objects into any other object to be used for serialization.
      Parameters:
      threads - The thread publisher
      Returns:
      A publisher of objects to be serialized.