java.lang.Long to java.lang.Void
No. of Instances - 16
No. of Commits - 6
No. of Projects - {'alluxio', 'ignite', 'redisson', 'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
- Cascading Type Change (Different)
- BlockInfoException to TachyonException
- create_result to createFile_result
- getFileId_result to createDirectory_result
- Cascading Type Change (Similar)
- Long to Void
- AsyncMethodCallback<Long> to AsyncMethodCallback<Void>
- Long to Void
- AsyncMethodCallback<Long> to AsyncMethodCallback<Void>
- Long to Void
- AsyncMethodCallback<Long> to AsyncMethodCallback<Void>
- Long to Void
- AsyncMethodCallback<Long> to AsyncMethodCallback<Void>
- Update Anonymous class
- { public void onComplete( Long o){ workerRegister_result result=new workerRegister_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; workerRegister_result result=new workerRegister_result(); if (e instanceof BlockInfoException) { result.bie=(BlockInfoException)e; result.setBieIsSet(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){ workerRegister_result result=new workerRegister_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; workerRegister_result result=new workerRegister_result(); if (e instanceof TachyonException) { result.bie=(TachyonException)e; result.setBieIsSet(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){ create_result result=new create_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; create_result result=new create_result(); if (e instanceof tachyon.thrift.TachyonTException) { result.e=(tachyon.thrift.TachyonTException)e; result.setEIsSet(true); msg=result; } else if (e instanceof tachyon.thrift.ThriftIOException) { result.ioe=(tachyon.thrift.ThriftIOException)e; result.setIoeIsSet(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){ createFile_result result=new createFile_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; createFile_result result=new createFile_result(); if (e instanceof tachyon.thrift.TachyonTException) { result.e=(tachyon.thrift.TachyonTException)e; result.setEIsSet(true); msg=result; } else if (e instanceof tachyon.thrift.ThriftIOException) { result.ioe=(tachyon.thrift.ThriftIOException)e; result.setIoeIsSet(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){ 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(); { 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){ createDirectory_result result=new createDirectory_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; createDirectory_result result=new createDirectory_result(); if (e instanceof tachyon.thrift.TachyonTException) { result.e=(tachyon.thrift.TachyonTException)e; result.setEIsSet(true); msg=result; } else if (e instanceof tachyon.thrift.ThriftIOException) { result.ioe=(tachyon.thrift.ThriftIOException)e; result.setIoeIsSet(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){ completeUfsFile_result result=new completeUfsFile_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; completeUfsFile_result result=new completeUfsFile_result(); if (e instanceof alluxio.thrift.AlluxioTException) { result.e=(alluxio.thrift.AlluxioTException)e; result.setEIsSet(true); msg=result; } else if (e instanceof alluxio.thrift.ThriftIOException) { result.ioe=(alluxio.thrift.ThriftIOException)e; result.setIoeIsSet(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){ completeUfsFile_result result=new completeUfsFile_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; completeUfsFile_result result=new completeUfsFile_result(); if (e instanceof alluxio.thrift.AlluxioTException) { result.e=(alluxio.thrift.AlluxioTException)e; result.setEIsSet(true); msg=result; } else if (e instanceof alluxio.thrift.ThriftIOException) { result.ioe=(alluxio.thrift.ThriftIOException)e; result.setIoeIsSet(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(); } }
- Rename Method invocation
- Add or Remove Method invocation