Class FrameMessageSizeEstimator
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.server.handler.FrameMessageSizeEstimator
-
- All Implemented Interfaces:
io.netty.channel.MessageSizeEstimator
public final class FrameMessageSizeEstimator extends Object implements io.netty.channel.MessageSizeEstimator
AMessageSizeEstimator
that sizes theFrame
class. This is basically an implementation of netty's default but with that additional feature.
-
-
Constructor Summary
Constructors Constructor Description FrameMessageSizeEstimator(int unknownSize)
Create a new instance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FrameMessageSizeEstimator
instance()
io.netty.channel.MessageSizeEstimator.Handle
newHandle()
-
-
-
Method Detail
-
instance
public static FrameMessageSizeEstimator instance()
-
newHandle
public io.netty.channel.MessageSizeEstimator.Handle newHandle()
- Specified by:
newHandle
in interfaceio.netty.channel.MessageSizeEstimator
-
-