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

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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy