Toggle navigation
Home
alluxio.wire.MasterInfo to alluxio.thrift.GetMasterInfoTResponse
No. of Instances - 9
No. of Commits - 1
No. of Projects - {'alluxio'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Method invocation
recv_getInfo
to
recv_getMasterInfo
getInfo
to
getMasterInfo
Cascading Type Change (Similar)
MasterInfo
to
GetMasterInfoTResponse
AsyncMethodCallback<MasterInfo>
to
AsyncMethodCallback<GetMasterInfoTResponse>
Cascading Type Change (Different)
getInfo_result
to
getMasterInfo_result
Update Anonymous class
{ public void onComplete( MasterInfo o){ getInfo_result result=new getInfo_result(); result.success=o; try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; getInfo_result result=new getInfo_result(); if (e instanceof alluxio.thrift.AlluxioTException) { result.e=(alluxio.thrift.AlluxioTException)e; result.setEIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
to
{ public void onComplete( GetMasterInfoTResponse o){ getMasterInfo_result result=new getMasterInfo_result(); result.success=o; try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; getMasterInfo_result result=new getMasterInfo_result(); if (e instanceof alluxio.thrift.AlluxioTException) { result.e=(alluxio.thrift.AlluxioTException)e; result.setEIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }