diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2012-10-03 08:27:25 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2012-10-03 08:27:25 -0700 |
commit | 833f1d0c86a9c1f231d0f4489ff13f21d54be280 (patch) | |
tree | e41ed1883f58de24e447f43f1a8986ea7d4238ea /core/src/main | |
parent | 6cf5dffc724eb7158beebec7b393343b654c2fad (diff) | |
download | spark-833f1d0c86a9c1f231d0f4489ff13f21d54be280.tar.gz spark-833f1d0c86a9c1f231d0f4489ff13f21d54be280.tar.bz2 spark-833f1d0c86a9c1f231d0f4489ff13f21d54be280.zip |
Made StorageLevel public
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/scala/spark/storage/StorageLevel.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/spark/storage/StorageLevel.scala b/core/src/main/scala/spark/storage/StorageLevel.scala index 2237ce92b3..2d52fac1ef 100644 --- a/core/src/main/scala/spark/storage/StorageLevel.scala +++ b/core/src/main/scala/spark/storage/StorageLevel.scala @@ -2,7 +2,7 @@ package spark.storage import java.io.{Externalizable, ObjectInput, ObjectOutput} -private[spark] class StorageLevel( +class StorageLevel( var useDisk: Boolean, var useMemory: Boolean, var deserialized: Boolean, @@ -63,7 +63,7 @@ private[spark] class StorageLevel( "StorageLevel(%b, %b, %b, %d)".format(useDisk, useMemory, deserialized, replication) } -private[spark] object StorageLevel { +object StorageLevel { val NONE = new StorageLevel(false, false, false) val DISK_ONLY = new StorageLevel(true, false, false) val DISK_ONLY_2 = new StorageLevel(true, false, false, 2) |