Package org.apache.spark.storage.memory
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
ConstructorDescriptionSerializedMemoryEntry
(org.apache.spark.util.io.ChunkedByteBuffer buffer, org.apache.spark.memory.MemoryMode memoryMode, scala.reflect.ClassTag<T> classTag) -
Method Summary
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 interfaceMemoryEntry<T>
-
classTag
- Specified by:
classTag
in interfaceMemoryEntry<T>
-
size
public long size()- Specified by:
size
in interfaceMemoryEntry<T>
-