class BlockManagerId extends Externalizable
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
- Alphabetic
- By Inheritance
- BlockManagerId
- Externalizable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
equals(that: Any): Boolean
- Definition Classes
- BlockManagerId → AnyRef → Any
- def executorId: String
-
def
hashCode(): Int
- Definition Classes
- BlockManagerId → AnyRef → Any
- def host: String
- def hostPort: String
- def isDriver: Boolean
- def port: Int
-
def
readExternal(in: ObjectInput): Unit
- Definition Classes
- BlockManagerId → Externalizable
-
def
toString(): String
- Definition Classes
- BlockManagerId → AnyRef → Any
- def topologyInfo: Option[String]
-
def
writeExternal(out: ObjectOutput): Unit
- Definition Classes
- BlockManagerId → Externalizable