JavaScript is disabled on your browser.
Skip navigation links
io.netty.handler.codec.marshalling

Class ThreadLocalUnmarshallerProvider

  • All Implemented Interfaces:
    UnmarshallerProvider


    public class ThreadLocalUnmarshallerProvider
    extends java.lang.Object
    implements UnmarshallerProvider 
    UnmarshallerProvider implementation which use a ThreadLocal to store references to Unmarshaller instances. This may give you some performance boost if you need to unmarshall many small Object's.
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      org.jboss.marshalling.Unmarshaller getUnmarshaller (ChannelHandlerContext ctx)
      Get the Unmarshaller for the given ChannelHandlerContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadLocalUnmarshallerProvider

        public ThreadLocalUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory,
         org.jboss.marshalling.MarshallingConfiguration config)
        Create a new instance of the ThreadLocalUnmarshallerProvider
        Parameters:
        factory - the MarshallerFactory to use to create Unmarshaller's if needed
        config - the MarshallingConfiguration to use
Skip navigation links

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /