org.apache.spark.storage
Class BlockStatus

Object
  extended by org.apache.spark.storage.BlockStatus
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class BlockStatus
extends Object
implements scala.Product, scala.Serializable

See Also:
Serialized Form

Constructor Summary
BlockStatus(StorageLevel storageLevel, long memSize, long diskSize, long externalBlockStoreSize)
           
 
Method Summary
 long diskSize()
           
static BlockStatus empty()
           
 long externalBlockStoreSize()
           
 boolean isCached()
           
 long memSize()
           
 StorageLevel storageLevel()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

BlockStatus

public BlockStatus(StorageLevel storageLevel,
                   long memSize,
                   long diskSize,
                   long externalBlockStoreSize)
Method Detail

empty

public static BlockStatus empty()

storageLevel

public StorageLevel storageLevel()

memSize

public long memSize()

diskSize

public long diskSize()

externalBlockStoreSize

public long externalBlockStoreSize()

isCached

public boolean isCached()