Packages

c

org.apache.spark.storage

BlockManagerId

class BlockManagerId extends Externalizable

Developer API

This class represent a unique identifier for a BlockManager.

The first 2 constructors of this class are made private to ensure that BlockManagerId objects can be created only using the apply method in the companion object. This allows de-duplication of ID objects. Also, constructor parameters are private to ensure that parameters cannot be modified from outside this class.

Annotations
@DeveloperApi()
Source
BlockManagerId.scala
Linear Supertypes
Externalizable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockManagerId
  2. Externalizable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def equals(that: Any): Boolean
    Definition Classes
    BlockManagerId → AnyRef → Any
  2. def executorId: String
  3. def hashCode(): Int
    Definition Classes
    BlockManagerId → AnyRef → Any
  4. def host: String
  5. def hostPort: String
  6. def isDriver: Boolean
  7. def port: Int
  8. def readExternal(in: ObjectInput): Unit
    Definition Classes
    BlockManagerId → Externalizable
  9. def toString(): String
    Definition Classes
    BlockManagerId → AnyRef → Any
  10. def topologyInfo: Option[String]
  11. def writeExternal(out: ObjectOutput): Unit
    Definition Classes
    BlockManagerId → Externalizable