Class SimpleSampleTextualizer<T>
- java.lang.Object
-
- org.pipecraft.infra.monitoring.sampling.SimpleSampleTextualizer<T>
-
- All Implemented Interfaces:
SampleTextualizer<T>
public class SimpleSampleTextualizer<T> extends Object implements SampleTextualizer<T>
A sample textualizer that uses the items toString().- Author:
- Eyal Schneider
-
-
Constructor Summary
Constructors Constructor Description SimpleSampleTextualizer()
-
-
-
Method Detail
-
toText
public String toText(T obj)
- Specified by:
toTextin interfaceSampleTextualizer<T>- Parameters:
obj- An item from the sample. Can be null.- Returns:
- The string representation of the sample item
-
-