public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
private static void addAdditionalValueHashesToTextLoader(Step step, TextLoader textLoader) { StepEnum.Type stepType = StepEnum.Type.of(step.getStepType()); String textTypeName = stepType.getAssociatedMainTextTypeName(); TextTypeEnum textTypeEnum = TextTypeEnum.of(textTypeName); switch (stepType) { case DUMP: DumpStep dumpStep = (DumpStep) step; for (int stackHash : dumpStep.stacks) { textLoader.addTextHash(TextTypeEnum.STACK_ELEMENT, stackHash); } break; default: break; } } }
private static List<String> getStepAdditionalValue(Step step, long date, int serverId) { StepEnum.Type stepType = StepEnum.Type.of(step.getStepType()); TextTypeEnum textTypeEnum = TextTypeEnum.of(stepType.getAssociatedMainTextTypeName()); List<String> valueList = new ArrayList<>(); switch (stepType) { case DUMP: DumpStep dumpStep = (DumpStep) step; for (int stackHash : dumpStep.stacks) { valueList.add(TextTypeEnum.STACK_ELEMENT.getTextModel().getTextIfNullDefault(date, stackHash, serverId)); } break; case SPAN: case SPANCALL: SCommonSpanStep spanStep = (SCommonSpanStep) step; String localEndpointName = TextTypeEnum.OBJECT.getTextModel().getTextIfNullDefault(date, spanStep.getLocalEndpoint().getHash(), serverId); String remoteEndpointName = TextTypeEnum.OBJECT.getTextModel().getTextIfNullDefault(date, spanStep.getRemoteEndpoint().getHash(), serverId); spanStep.getLocalEndpoint().setServiceName(localEndpointName); spanStep.getRemoteEndpoint().setServiceName(remoteEndpointName); break; default: break; } return valueList; }
private static void addMainValueHashToTextLoader(Step step, TextLoader textLoader) { StepEnum.Type stepType = StepEnum.Type.of(step.getStepType()); String textTypeName = stepType.getAssociatedMainTextTypeName(); TextTypeEnum textTypeEnum = TextTypeEnum.of(textTypeName);
private static String getStepMainValue(Step step, long date, int serverId) { String mainValue = ""; StepEnum.Type stepType = StepEnum.Type.of(step.getStepType()); TextTypeEnum textTypeEnum = TextTypeEnum.of(stepType.getAssociatedMainTextTypeName());
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
/** * for web app client (json parsing) */ public String getStepTypeName() { return StepEnum.Type.of(getStepType()).name(); }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }