com.emc.mongoose.storage.driver.pravega.EndToEndLogMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-storage-driver-pravega Show documentation
Show all versions of mongoose-storage-driver-pravega Show documentation
Mongoose is a high-load storage performance testing tool
package com.emc.mongoose.storage.driver.pravega;
import com.emc.mongoose.base.logging.LogMessageBase;
import static java.lang.System.lineSeparator;
public class EndToEndLogMessage
extends LogMessageBase {
private static final String LINE_SEP = lineSeparator();
private final String msgId;
private final long size;
private final long timeMillis;
public EndToEndLogMessage(final String msgId, final long size, final long timeMillis) {
this.msgId = msgId;
this.size = size;
this.timeMillis = timeMillis;
}
@Override
public void formatTo(final StringBuilder buff) {
buff
.append(msgId).append(',')
.append(size).append(',')
.append(timeMillis).append(LINE_SEP);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy