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
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.reactivestreams.Publisher<T> mapThreadInfo​(org.reactivestreams.Publisher<java.lang.management.ThreadInfo> threads)
      Converts the given ThreadInfo objects into any other object to be used for serialization.
    • Method Detail

      • mapThreadInfo

        org.reactivestreams.Publisher<T> mapThreadInfo​(org.reactivestreams.Publisher<java.lang.management.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.