public class DfsClientShm extends ShortCircuitShm implements org.apache.hadoop.net.unix.DomainSocketWatcher.Handler
ShortCircuitShm.ShmId, ShortCircuitShm.Slot, ShortCircuitShm.SlotId, ShortCircuitShm.SlotIterator
BYTES_PER_SLOT
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager |
getEndpointShmManager() |
org.apache.hadoop.hdfs.net.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, unregisterSlot
public org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager getEndpointShmManager()
public org.apache.hadoop.hdfs.net.DomainPeer getPeer()
public boolean isDisconnected()
public boolean handle(org.apache.hadoop.net.unix.DomainSocket sock)
handle
in interface org.apache.hadoop.net.unix.DomainSocketWatcher.Handler
Copyright © 2018 Apache Software Foundation. All Rights Reserved.