Package org.apache.spark.storage
Class BlockManagerMessages.ReplicateBlock
Object
org.apache.spark.storage.BlockManagerMessages.ReplicateBlock
- All Implemented Interfaces:
Serializable,BlockManagerMessages.ToBlockManagerMasterStorageEndpoint,scala.Equals,scala.Product
- Enclosing class:
- BlockManagerMessages
public static class BlockManagerMessages.ReplicateBlock
extends Object
implements BlockManagerMessages.ToBlockManagerMasterStorageEndpoint, scala.Product, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReplicateBlock(BlockId blockId, scala.collection.immutable.Seq<BlockManagerId> replicas, int maxReplicas) -
Method Summary
Modifier and TypeMethodDescriptionblockId()intscala.collection.immutable.Seq<BlockManagerId>replicas()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ReplicateBlock
public ReplicateBlock(BlockId blockId, scala.collection.immutable.Seq<BlockManagerId> replicas, int maxReplicas)
-
-
Method Details
-
blockId
-
replicas
-
maxReplicas
public int maxReplicas()
-