com.emc.mongoose.base.logging.OperationTraceCsvLogMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-base Show documentation
Show all versions of mongoose-base Show documentation
Mongoose is a high-load storage performance testing tool
package com.emc.mongoose.base.logging;
import com.emc.mongoose.base.item.Item;
import com.emc.mongoose.base.item.op.Operation;
import org.apache.logging.log4j.message.AsynchronouslyFormattable;
/**
* Created by andrey on 17.11.16.
*
* StorageNode, ItemPath, OpTypeCode, StatusCode, ReqTimeStart[us], Duration[us],
* RespLatency[us], DataLatency[us], TransferSize
*/
@AsynchronouslyFormattable
public final class OperationTraceCsvLogMessage>
extends LogMessageBase {
private final OperationTraceRecord opTraceRec;
public OperationTraceCsvLogMessage(final O opResult) {
opTraceRec = new OperationTraceRecord<>(opResult);
}
@Override
public final void formatTo(final StringBuilder strb) {
opTraceRec.format(strb);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy