Package io.undertow.benchmarks
Class AsciiEncodingBenchmark
- java.lang.Object
-
- io.undertow.benchmarks.AsciiEncodingBenchmark
-
- All Implemented Interfaces:
AsciiEncoders.BufferFlusher
- Direct Known Subclasses:
AsciiEncodingBenchmark_jmhType_B1
public class AsciiEncodingBenchmark extends java.lang.Object implements AsciiEncoders.BufferFlusher
-
-
Constructor Summary
Constructors Constructor Description AsciiEncodingBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intencode()voidflushBuffer(java.nio.ByteBuffer buffer)voidinit()
-
-
-
Method Detail
-
init
public void init()
-
flushBuffer
public void flushBuffer(java.nio.ByteBuffer buffer) throws java.io.IOException- Specified by:
flushBufferin interfaceAsciiEncoders.BufferFlusher- Throws:
java.io.IOException
-
encode
public int encode() throws java.io.IOException- Throws:
java.io.IOException
-
-