| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.shortcircuit |
| 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) |
|
ShortCircuitShm.Slot |
ShortCircuitReplica.getSlot() |
|
ShortCircuitShm.Slot |
ShortCircuitShm.getSlot(int slotIdx) |
|
ShortCircuitShm.Slot |
ShortCircuitShm.SlotIterator.next() |
|
ShortCircuitShm.Slot |
ShortCircuitShm.registerSlot(int slotIdx,
ExtendedBlockId blockId) |
Register a slot.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DfsClientShmManager.freeSlot(ShortCircuitShm.Slot slot) |
|
void |
ShortCircuitCache.freeSlot(ShortCircuitShm.Slot slot) |
Free a slot immediately.
|
void |
ShortCircuitCache.scheduleSlotReleaser(ShortCircuitShm.Slot slot) |
Schedule a shared memory slot to be released.
|
| 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.