Toggle navigation
Home
tachyon.thrift.FileInfo to java.lang.Long
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'alluxio'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Cascading Type Change (Different)
getFileStatus_result
to
getFileId_result
Cascading Type Change (Similar)
FileInfo
to
Long
AsyncMethodCallback<FileInfo>
to
AsyncMethodCallback<Long>
Add or Remove Method invocation
result.setEIIsSet(true)
to
result.setIpeIsSet(true)
Update Anonymous class
{ public void onComplete( FileInfo o){ getFileStatus_result result=new getFileStatus_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; getFileStatus_result result=new getFileStatus_result(); if (e instanceof InvalidPathException) { result.eI=(InvalidPathException)e; result.setEIIsSet(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( Long o){ getFileId_result result=new getFileId_result(); result.success=o; result.setSuccessIsSet(true); 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; getFileId_result result=new getFileId_result(); if (e instanceof InvalidPathException) { result.ipe=(InvalidPathException)e; result.setIpeIsSet(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(); } }