Toggle navigation
Home
tachyon.thrift.Command to tachyon.thrift.LineageCommand
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'alluxio'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Method invocation
workerHeartbeat
to
heartbeat
Cascading Type Change (Similar)
tachyon.thrift.Command
to
LineageCommand
AsyncMethodCallback<tachyon.thrift.Command>
to
AsyncMethodCallback<LineageCommand>
Cascading Type Change (Different)
workerHeartbeat_result
to
heartbeat_result
Update Anonymous class
{ public void onComplete( tachyon.thrift.Command o){ workerHeartbeat_result result=new workerHeartbeat_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; workerHeartbeat_result result=new workerHeartbeat_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( LineageCommand o){ heartbeat_result result=new heartbeat_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; heartbeat_result result=new heartbeat_result(); if (e instanceof tachyon.thrift.TachyonTException) { result.e=(tachyon.thrift.TachyonTException)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(); } }