java.io.Closeable, java.lang.AutoCloseable, ReconfigurationProtocol, org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.ipc.ProtocolTranslator@Private @Stable public class ReconfigurationProtocolTranslatorPB extends java.lang.Object implements org.apache.hadoop.ipc.ProtocolMetaInterface, ReconfigurationProtocol, org.apache.hadoop.ipc.ProtocolTranslator, java.io.Closeable
ReconfigurationProtocol interfaces to the RPC server implementing
ReconfigurationProtocolPB.| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
VERSIONID| Constructor | Description |
|---|---|
ReconfigurationProtocolTranslatorPB(java.net.InetSocketAddress addr,
org.apache.hadoop.security.UserGroupInformation ticket,
org.apache.hadoop.conf.Configuration conf,
javax.net.SocketFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
org.apache.hadoop.conf.ReconfigurationTaskStatus |
getReconfigurationStatus() |
Get the status of the previously issued reconfig task.
|
java.lang.Object |
getUnderlyingProxyObject() |
|
boolean |
isMethodSupported(java.lang.String methodName) |
|
java.util.List<java.lang.String> |
listReconfigurableProperties() |
Get a list of allowed properties for reconfiguration.
|
void |
startReconfiguration() |
Asynchronously reload configuration on disk and apply changes.
|
public ReconfigurationProtocolTranslatorPB(java.net.InetSocketAddress addr,
org.apache.hadoop.security.UserGroupInformation ticket,
org.apache.hadoop.conf.Configuration conf,
javax.net.SocketFactory factory)
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 java.lang.Object getUnderlyingProxyObject()
getUnderlyingProxyObject in interface org.apache.hadoop.ipc.ProtocolTranslatorpublic void startReconfiguration()
throws java.io.IOException
ReconfigurationProtocolstartReconfiguration in interface ReconfigurationProtocoljava.io.IOExceptionpublic org.apache.hadoop.conf.ReconfigurationTaskStatus getReconfigurationStatus()
throws java.io.IOException
ReconfigurationProtocolgetReconfigurationStatus in interface ReconfigurationProtocoljava.io.IOExceptionReconfigurationTaskStatuspublic java.util.List<java.lang.String> listReconfigurableProperties()
throws java.io.IOException
ReconfigurationProtocollistReconfigurableProperties in interface ReconfigurationProtocoljava.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.