com.inteligr8.solr.model.ResponseHeader Maven / Gradle / Ivy
The newest version!
package com.inteligr8.solr.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty.Access;
@JsonIgnoreProperties(ignoreUnknown = true)
public class ResponseHeader {
@JsonProperty(value = "QTime", access = Access.READ_ONLY)
private long executionTimeInMilliseconds;
@JsonProperty(access = Access.READ_ONLY)
private int status;
public long getExecutionTimeInMilliseconds() {
return executionTimeInMilliseconds;
}
protected void setExecutionTimeInMilliseconds(long executionTimeInMilliseconds) {
this.executionTimeInMilliseconds = executionTimeInMilliseconds;
}
public int getStatus() {
return status;
}
protected void setStatus(int status) {
this.status = status;
}
}