org.apache.spark.deploy.master

PersistenceEngine

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PersistenceEngine()

Abstract Value Members

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

    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]

    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

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

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def addApplication(app: ApplicationInfo): Unit

  7. final def addDriver(driver: DriverInfo): Unit

  8. final def addWorker(worker: WorkerInfo): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

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

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

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

  23. final def removeDriver(driver: DriverInfo): Unit

  24. final def removeWorker(worker: WorkerInfo): Unit

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped