private static class FanOutOneBlockAsyncDFSOutputSaslHelper.SaslNegotiateHandler.BuilderPayloadSetter extends Object
Modifier and Type | Field and Description |
---|---|
private static Constructor<?> |
constructor |
private static Method |
setPayloadMethod |
Modifier | Constructor and Description |
---|---|
private |
BuilderPayloadSetter() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
wrapAndSetPayload(org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.DataTransferEncryptorMessageProto.Builder builder,
byte[] payload)
Create a ByteString from byte array without copying (wrap), and then set it as the payload
for the builder.
|
private static Method setPayloadMethod
private static Constructor<?> constructor
private BuilderPayloadSetter()
static void wrapAndSetPayload(org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.DataTransferEncryptorMessageProto.Builder builder, byte[] payload) throws IOException
builder
- builder for HDFS DataTransferEncryptorMessage.payload
- byte array of payload. nIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.