java.io.Closeable, java.lang.AutoCloseable, DatanodeLifelineProtocol, org.apache.hadoop.ipc.ProtocolMetaInterface@Private public class DatanodeLifelineProtocolClientSideTranslatorPB extends java.lang.Object implements org.apache.hadoop.ipc.ProtocolMetaInterface, DatanodeLifelineProtocol, java.io.Closeable
DatanodeLifelineProtocol interfaces to the RPC server implementing
DatanodeLifelineProtocolPB.| Constructor | Description |
|---|---|
DatanodeLifelineProtocolClientSideTranslatorPB(java.net.InetSocketAddress nameNodeAddr,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
boolean |
isMethodSupported(java.lang.String methodName) |
|
void |
sendLifeline(DatanodeRegistration registration,
org.apache.hadoop.hdfs.server.protocol.StorageReport[] reports,
long cacheCapacity,
long cacheUsed,
int xmitsInProgress,
int xceiverCount,
int failedVolumes,
VolumeFailureSummary volumeFailureSummary) |
public DatanodeLifelineProtocolClientSideTranslatorPB(java.net.InetSocketAddress nameNodeAddr,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOExceptionpublic void sendLifeline(DatanodeRegistration registration, org.apache.hadoop.hdfs.server.protocol.StorageReport[] reports, long cacheCapacity, long cacheUsed, int xmitsInProgress, int xceiverCount, int failedVolumes, VolumeFailureSummary volumeFailureSummary) throws java.io.IOException
sendLifeline in interface DatanodeLifelineProtocoljava.io.IOExceptionpublic boolean isMethodSupported(java.lang.String methodName)
throws java.io.IOException
isMethodSupported in interface org.apache.hadoop.ipc.ProtocolMetaInterfacejava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.