Toggle navigation
Home
java.lang.Long to java.lang.Boolean
No. of Instances - 23
No. of Commits - 5
No. of Projects - {'alluxio', 'redisson'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Cascading Type Change (Different)
userCreateNewBlock_result
to
createDirectory_result
FileDoesNotExistException
to
FileAlreadyExistException
user_getUsedBytes_result
to
deleteFile_result
user_createNewBlock_result
to
createDirectory_result
FileDoesNotExistException
to
FileAlreadyExistException
Cascading Type Change (Similar)
Long
to
Boolean
AsyncMethodCallback<Long>
to
AsyncMethodCallback<Boolean>
Long
to
Boolean
AsyncMethodCallback<Long>
to
AsyncMethodCallback<Boolean>
Long
to
Boolean
AsyncMethodCallback<Long>
to
AsyncMethodCallback<Boolean>
Add or Remove Method invocation
result.setEIsSet(true)
to
result.setFaeeIsSet(true)
result.setEIsSet(true)
to
result.setFaeeIsSet(true)
Update Anonymous class
{ public void onComplete( Long o){ userCreateNewBlock_result result=new userCreateNewBlock_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; userCreateNewBlock_result result=new userCreateNewBlock_result(); if (e instanceof FileDoesNotExistException) { result.e=(FileDoesNotExistException)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( Boolean o){ createDirectory_result result=new createDirectory_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; createDirectory_result result=new createDirectory_result(); if (e instanceof FileAlreadyExistException) { result.faee=(FileAlreadyExistException)e; result.setFaeeIsSet(true); msg=result; } else if (e instanceof TachyonException) { result.te=(TachyonException)e; result.setTeIsSet(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(); } }
{ public void onComplete( Long o){ user_getUsedBytes_result result=new user_getUsedBytes_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; user_getUsedBytes_result result=new user_getUsedBytes_result(); { 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( Boolean o){ deleteFile_result result=new deleteFile_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; deleteFile_result result=new deleteFile_result(); if (e instanceof TachyonException) { result.te=(TachyonException)e; result.setTeIsSet(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(); } }
{ public void onComplete( Long o){ user_createNewBlock_result result=new user_createNewBlock_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; user_createNewBlock_result result=new user_createNewBlock_result(); if (e instanceof FileDoesNotExistException) { result.e=(FileDoesNotExistException)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( Boolean o){ createDirectory_result result=new createDirectory_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; createDirectory_result result=new createDirectory_result(); if (e instanceof FileAlreadyExistException) { result.faee=(FileAlreadyExistException)e; result.setFaeeIsSet(true); msg=result; } else 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(); } }
Update argument list (Method invocation)
writeAsync
to
writeAsync
writeAsync
to
writeAsync