Package

com.twitter.scrooge

adapt

Permalink

package adapt

Visibility
  1. Public
  2. All

Type Members

  1. trait AccessRecorder extends AnyRef

    Permalink
  2. trait AdaptContext extends AnyRef

    Permalink

    Helper methods for adaptive decoding.

    Helper methods for adaptive decoding. See comments for individual methods to learn more.

  3. trait AdaptTProtocol extends TProtocol with LazyTProtocol

    Permalink

    An extension to the TProtocol to enable adaptive reading.

    An extension to the TProtocol to enable adaptive reading. Learn from the access pattern to skip unused fields and avoid creating them, thus making parse faster and reduce GC.

    Also enable caching of a backing Array[Byte] so we can serialize quickly what we just deserialized if unchanged.

  4. trait Decoder[T <: ThriftStruct] extends AnyRef

    Permalink

Value Members

  1. object AdaptTProtocol

    Permalink

    These methods are used to mark code sections in Adaptive Decoder.

    These methods are used to mark code sections in Adaptive Decoder. Based on usage of fields relevant sections are modified using ASM.

Ungrouped