org.apache.hadoop.hdfs.net.EncryptedPeer的实例源码

项目:hadoop    文件SaslDataTransferClient.java   
/**
 * Sends client SASL negotiation for a peer if required.
 *
 * @param peer connection peer
 * @param encryptionKeyFactory for creation of an encryption key
 * @param accesstoken connection block access token
 * @param datanodeId ID of destination Datanode
 * @return new pair of streams,wrapped after SASL negotiation
 * @throws IOException for any error
 */
public Peer peerSend(Peer peer,DataEncryptionKeyFactory encryptionKeyFactory,Token<BlockTokenIdentifier> accesstoken,DatanodeID datanodeId)
    throws IOException {
  IOStreamPair ios = checkTrustAndSend(getPeerAddress(peer),peer.getoutputStream(),peer.getInputStream(),encryptionKeyFactory,accesstoken,datanodeId);
  // Todo: Consider renaming EncryptedPeer to SaslPeer.
  return ios != null ? new EncryptedPeer(peer,ios) : peer;
}
项目:aliyun-oss-hadoop-fs    文件SaslDataTransferClient.java   
/**
 * Sends client SASL negotiation for a peer if required.
 *
 * @param peer connection peer
 * @param encryptionKeyFactory for creation of an encryption key
 * @param accesstoken connection block access token
 * @param datanodeId ID of destination Datanode
 * @return new pair of streams,ios) : peer;
}
项目:big-c    文件SaslDataTransferClient.java   
/**
 * Sends client SASL negotiation for a peer if required.
 *
 * @param peer connection peer
 * @param encryptionKeyFactory for creation of an encryption key
 * @param accesstoken connection block access token
 * @param datanodeId ID of destination Datanode
 * @return new pair of streams,ios) : peer;
}
项目:hadoop-2.6.0-cdh5.4.3    文件SaslDataTransferClient.java   
/**
 * Sends client SASL negotiation for a peer if required.
 *
 * @param peer connection peer
 * @param encryptionKeyFactory for creation of an encryption key
 * @param accesstoken connection block access token
 * @param datanodeId ID of destination Datanode
 * @return new pair of streams,ios) : peer;
}
项目:FlexMap    文件SaslDataTransferClient.java   
/**
 * Sends client SASL negotiation for a peer if required.
 *
 * @param peer connection peer
 * @param encryptionKeyFactory for creation of an encryption key
 * @param accesstoken connection block access token
 * @param datanodeId ID of destination Datanode
 * @return new pair of streams,ios) : peer;
}

相关文章

买水果
比较全面的redis工具类
gson 反序列化到多态子类
java 版本的 mb_strwidth
JAVA 反转字符串的最快方法,大概比StringBuffer.reverse()性...
com.google.gson.internal.bind.ArrayTypeAdapter的实例源码...