@Singleton public class DefaultThreadInfoMapper extends java.lang.Object implements ThreadInfoMapper<java.lang.management.ThreadInfo>
ThreadInfoMapper
that returns the
ThreadInfo
objects as is.Constructor and Description |
---|
DefaultThreadInfoMapper() |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<java.lang.management.ThreadInfo> |
mapThreadInfo(org.reactivestreams.Publisher<java.lang.management.ThreadInfo> threads)
Converts the given
ThreadInfo objects into any other
object to be used for serialization. |
public org.reactivestreams.Publisher<java.lang.management.ThreadInfo> mapThreadInfo(org.reactivestreams.Publisher<java.lang.management.ThreadInfo> threads)
ThreadInfoMapper
ThreadInfo
objects into any other
object to be used for serialization.mapThreadInfo
in interface ThreadInfoMapper<java.lang.management.ThreadInfo>
threads
- The thread publisher