All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scray.common.serialization.BatchID Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
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