Class

org.apache.spark.deploy.master

PersistenceEngine

Related Doc: package master

Permalink

abstract class PersistenceEngine extends AnyRef

Allows Master to persist any state that is necessary in order to recover from a failure. The following semantics are required:

The implementation of this trait defines how name-object pairs are stored or retrieved.

Annotations
@DeveloperApi()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistenceEngine
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PersistenceEngine()

    Permalink

Abstract Value Members

  1. abstract def persist(name: String, obj: AnyRef): Unit

    Permalink

    Defines how the object is serialized and persisted.

    Defines how the object is serialized and persisted. Implementation will depend on the store used.

  2. abstract def read[T](prefix: String)(implicit arg0: ClassTag[T]): Seq[T]

    Permalink

    Gives all objects, matching a prefix.

    Gives all objects, matching a prefix. This defines how objects are read/deserialized back.

  3. abstract def unpersist(name: String): Unit

    Permalink

    Defines how the object referred by its name is removed from the store.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def addApplication(app: ApplicationInfo): Unit

    Permalink
  5. final def addDriver(driver: DriverInfo): Unit

    Permalink
  6. final def addWorker(worker: WorkerInfo): Unit

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def readPersistedData(rpcEnv: RpcEnv): (Seq[ApplicationInfo], Seq[DriverInfo], Seq[WorkerInfo])

    Permalink

    Returns the persisted data sorted by their respective ids (which implies that they're sorted by time of creation).

  20. final def removeApplication(app: ApplicationInfo): Unit

    Permalink
  21. final def removeDriver(driver: DriverInfo): Unit

    Permalink
  22. final def removeWorker(worker: WorkerInfo): Unit

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped