Class SerializedMemoryEntry<T>

Object
org.apache.spark.storage.memory.SerializedMemoryEntry<T>
All Implemented Interfaces:
Serializable, MemoryEntry<T>, scala.Equals, scala.Product

public class SerializedMemoryEntry<T> extends Object implements MemoryEntry<T>, scala.Product, Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SerializedMemoryEntry(org.apache.spark.util.io.ChunkedByteBuffer buffer, org.apache.spark.memory.MemoryMode memoryMode, scala.reflect.ClassTag<T> classTag)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.spark.util.io.ChunkedByteBuffer
     
    scala.reflect.ClassTag<T>
     
    org.apache.spark.memory.MemoryMode
     
    long
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • SerializedMemoryEntry

      public SerializedMemoryEntry(org.apache.spark.util.io.ChunkedByteBuffer buffer, org.apache.spark.memory.MemoryMode memoryMode, scala.reflect.ClassTag<T> classTag)
  • Method Details

    • buffer

      public org.apache.spark.util.io.ChunkedByteBuffer buffer()
    • memoryMode

      public org.apache.spark.memory.MemoryMode memoryMode()
      Specified by:
      memoryMode in interface MemoryEntry<T>
    • classTag

      public scala.reflect.ClassTag<T> classTag()
      Specified by:
      classTag in interface MemoryEntry<T>
    • size

      public long size()
      Specified by:
      size in interface MemoryEntry<T>