scray.common.serialization.BatchID Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scray-common Show documentation
Show all versions of scray-common Show documentation
scray artefacts shared between scala and java components
package scray.common.serialization;
import java.io.Serializable;
/**
* new BatchID for use with sync/api
* @author stefan
*
*/
public class BatchID implements Serializable {
public BatchID(long startTime, long endTime) {
batchStart = startTime;
batchEnd = endTime;
}
private static final long serialVersionUID = -7082915998944716142L;
private long batchStart;
private long batchEnd;
public long getBatchStart() {
return batchStart;
}
public long getBatchEnd() {
return batchEnd;
}
@Override
public String toString() {
return "BatchID " + batchStart + ":" + batchEnd;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy