package eu.europeana.cloud.service.mcs.persistent.swift;
/**
* Control information about BLOB: number of bytes and md5 digest.
*
*/
public class PutResult {
private final String md5;
private final Long contentLength;
/**
* Constucts PutResult with fiven number of bytes and md5 digest.
*
* @param md5
* md5 digest
* @param contentLength
* number of bytes
*/
public PutResult(String md5, Long contentLength) {
this.md5 = md5;
this.contentLength = contentLength;
}
public String getMd5() {
return md5;
}
public Long getContentLength() {
return contentLength;
}
}