
io.honeycomb.libhoney.responses.impl.SimpleBatchData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libhoney-java Show documentation
Show all versions of libhoney-java Show documentation
The Java client for sending events honeycomb
The newest version!
package io.honeycomb.libhoney.responses.impl;
import io.honeycomb.libhoney.responses.ServerResponse;
class SimpleBatchData implements ServerResponse.BatchData {
private final int positionInBatch;
private final int batchStatusCode;
SimpleBatchData(final int positionInBatch, final int batchStatusCode) {
this.positionInBatch = positionInBatch;
this.batchStatusCode = batchStatusCode;
}
@Override
public int getPositionInBatch() {
return positionInBatch;
}
@Override
public int getBatchStatusCode() {
return batchStatusCode;
}
@Override
public String toString() {
return "SimpleBatchData{" +
"positionInBatch=" + positionInBatch +
", batchStatusCode=" + batchStatusCode +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy