Class DefaultThreadInfoMapper
java.lang.Object
io.micronaut.management.endpoint.threads.impl.DefaultThreadInfoMapper
- All Implemented Interfaces:
ThreadInfoMapper<ThreadInfo>
@Singleton
public class DefaultThreadInfoMapper
extends Object
implements ThreadInfoMapper<ThreadInfo>
Default implementation of
ThreadInfoMapper
that returns the
ThreadInfo
objects as is.- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmapThreadInfo
(Publisher<ThreadInfo> threads) Converts the givenThreadInfo
objects into any other object to be used for serialization.
-
Constructor Details
-
DefaultThreadInfoMapper
public DefaultThreadInfoMapper()
-
-
Method Details
-
mapThreadInfo
Description copied from interface:ThreadInfoMapper
Converts the givenThreadInfo
objects into any other object to be used for serialization.- Specified by:
mapThreadInfo
in interfaceThreadInfoMapper<ThreadInfo>
- Parameters:
threads
- The thread publisher- Returns:
- A publisher of objects to be serialized.
-