org.apache.hadoop.net.unix.DomainSocketWatcher.Handlerpublic class DfsClientShm extends ShortCircuitShm implements org.apache.hadoop.net.unix.DomainSocketWatcher.Handler
ShortCircuitShm.ShmId, ShortCircuitShm.Slot, ShortCircuitShm.SlotId, ShortCircuitShm.SlotIteratorBYTES_PER_SLOT| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager |
getEndpointShmManager() |
|
DomainPeer |
getPeer() |
|
boolean |
handle(org.apache.hadoop.net.unix.DomainSocket sock) |
Handle the closure of the UNIX domain socket associated with this shared
memory segment by marking this segment as stale.
|
boolean |
isDisconnected() |
Determine if the shared memory segment is disconnected from the DataNode.
|
allocAndRegisterSlot, free, getShmId, getSlot, isEmpty, isFull, registerSlot, slotIterator, toString, unregisterSlotpublic org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager getEndpointShmManager()
public DomainPeer getPeer()
public boolean isDisconnected()
public boolean handle(org.apache.hadoop.net.unix.DomainSocket sock)
handle in interface org.apache.hadoop.net.unix.DomainSocketWatcher.HandlerCopyright © 2008–2025 Apache Software Foundation. All rights reserved.