Toggle navigation
Home
tachyon.thrift.FileBlockInfo to tachyon.thrift.FileInfo
No. of Instances - 14
No. of Commits - 2
No. of Projects - {'alluxio'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Similar)
FileBlockInfo
to
FileInfo
FileBlockInfo
to
FileInfo
FileBlockInfo
to
FileInfo
FileBlockInfo
to
FileInfo
FileBlockInfo
to
FileInfo
AsyncMethodCallback<FileBlockInfo>
to
AsyncMethodCallback<FileInfo>
tachyon.thrift.FileBlockInfo
to
FileInfo
tachyon.thrift.FileBlockInfo
to
FileInfo
AsyncMethodCallback<tachyon.thrift.FileBlockInfo>
to
AsyncMethodCallback<FileInfo>
Rename Variable
_elem181
to
_elem149
_elem181
to
_elem149
_elem181
to
_elem149
_elem181
to
_elem149
_iter184
to
_iter152
_iter184
to
_iter152
_iter183
to
_iter151
_iter183
to
_iter151
_elem186
to
_elem154
_elem186
to
_elem154
_elem186
to
_elem154
_elem186
to
_elem154
Rename Method invocation
userGetClientBlockInfo
to
getFileInfo
Cascading Type Change (Different)
userGetClientBlockInfo_result
to
getFileInfo_result
getFileBlockInfo_result
to
getStatus_result
Update Anonymous class
{ public void onComplete( FileBlockInfo o){ userGetClientBlockInfo_result result=new userGetClientBlockInfo_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; userGetClientBlockInfo_result result=new userGetClientBlockInfo_result(); if (e instanceof FileDoesNotExistException) { result.eF=(FileDoesNotExistException)e; result.setEFIsSet(true); msg=result; } else if (e instanceof BlockInfoException) { result.eB=(BlockInfoException)e; result.setEBIsSet(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( FileInfo o){ getFileInfo_result result=new getFileInfo_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; getFileInfo_result result=new getFileInfo_result(); if (e instanceof FileDoesNotExistException) { result.fdnee=(FileDoesNotExistException)e; result.setFdneeIsSet(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(); } }