public class FSRpcUtils
extends java.lang.Object
| Constructor and Description |
|---|
FSRpcUtils(java.lang.String clusterName,
com.mapr.fs.proto.Security.CredentialsMsg creds,
int maxRetry,
com.mapr.fs.proto.Security.ServerKeyType keyToUse,
int srcPort) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CHasMServer(int cid) |
int |
SendRequestToCid(int cid,
boolean toMaster,
int programid,
int procid,
com.google.protobuf.MessageLite req,
GetMsgStatus getMsgStatus) |
int |
SendRequestToServer(com.mapr.fs.proto.Common.Server s,
int programid,
int procid,
com.google.protobuf.MessageLite req,
GetMsgStatus getMsgStatus) |
public FSRpcUtils(java.lang.String clusterName,
com.mapr.fs.proto.Security.CredentialsMsg creds,
int maxRetry,
com.mapr.fs.proto.Security.ServerKeyType keyToUse,
int srcPort)
public boolean CHasMServer(int cid)
public int SendRequestToCid(int cid,
boolean toMaster,
int programid,
int procid,
com.google.protobuf.MessageLite req,
GetMsgStatus getMsgStatus)
throws java.lang.Exception
java.lang.Exceptionpublic int SendRequestToServer(com.mapr.fs.proto.Common.Server s,
int programid,
int procid,
com.google.protobuf.MessageLite req,
GetMsgStatus getMsgStatus)
throws java.lang.Exception
java.lang.Exception