Toggle navigation
Home
java.util.List<tachyon.thrift.FileInfo> to java.lang.Void
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'alluxio'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Rename Method invocation
liststatus
to
reportLostFile
Cascading Type Change (Different)
liststatus_result
to
reportLostFile_result
Cascading Type Change (Similar)
List<FileInfo>
to
Void
AsyncMethodCallback<List<FileInfo>>
to
AsyncMethodCallback<Void>
Add or Remove Method invocation
result.setEFIsSet(true)
to
result.setFdneeIsSet(true)
Update Anonymous class
{ public void onComplete( List<FileInfo> o){ liststatus_result result=new liststatus_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; liststatus_result result=new liststatus_result(); if (e instanceof InvalidPathException) { result.eI=(InvalidPathException)e; result.setEIIsSet(true); msg=result; } else if (e instanceof FileDoesNotExistException) { result.eF=(FileDoesNotExistException)e; result.setEFIsSet(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( Void o){ reportLostFile_result result=new reportLostFile_result(); 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; reportLostFile_result result=new reportLostFile_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(); } }