| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.shortcircuit |
| Modifier and Type | Method | Description |
|---|---|---|
static ExtendedBlockId |
ExtendedBlockId.fromExtendedBlock(ExtendedBlock block) |
| Modifier and Type | Method | Description |
|---|---|---|
ExtendedBlockId |
ShortCircuitShm.Slot.getBlockId() |
Get the ExtendedBlockId associated with this slot.
|
ExtendedBlockId |
ShortCircuitReplica.getKey() |
| Modifier and Type | Method | Description |
|---|---|---|
ShortCircuitShm.Slot |
ShortCircuitShm.allocAndRegisterSlot(ExtendedBlockId blockId) |
Allocate a new slot and register it.
|
ShortCircuitShm.Slot |
ShortCircuitCache.allocShmSlot(DatanodeInfo datanode,
DomainPeer peer,
org.apache.commons.lang3.mutable.MutableBoolean usedPeer,
ExtendedBlockId blockId,
java.lang.String clientName) |
Allocate a new shared memory slot.
|
ShortCircuitShm.Slot |
DfsClientShmManager.allocSlot(DatanodeInfo datanode,
DomainPeer peer,
org.apache.commons.lang3.mutable.MutableBoolean usedPeer,
ExtendedBlockId blockId,
java.lang.String clientName) |
|
protected ShortCircuitReplicaInfo |
ShortCircuitCache.fetch(ExtendedBlockId key,
org.apache.hadoop.util.Waitable<ShortCircuitReplicaInfo> waitable) |
Fetch an existing ReplicaInfo object.
|
ShortCircuitReplicaInfo |
ShortCircuitCache.fetchOrCreate(ExtendedBlockId key,
ShortCircuitCache.ShortCircuitReplicaCreator creator) |
Fetch or create a replica.
|
ShortCircuitShm.Slot |
ShortCircuitShm.registerSlot(int slotIdx,
ExtendedBlockId blockId) |
Register a slot.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ShortCircuitCache.CacheVisitor.visit(int numOutstandingMmaps,
java.util.Map<ExtendedBlockId,ShortCircuitReplica> replicas,
java.util.Map<ExtendedBlockId,org.apache.hadoop.security.token.SecretManager.InvalidToken> failedLoads,
org.apache.commons.collections.map.LinkedMap evictable,
org.apache.commons.collections.map.LinkedMap evictableMmapped) |
| Constructor | Description |
|---|---|
ShortCircuitReplica(ExtendedBlockId key,
java.io.FileInputStream dataStream,
java.io.FileInputStream metaStream,
ShortCircuitCache cache,
long creationTimeMs,
ShortCircuitShm.Slot slot) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.