tabs begone

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@897662 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-01-10 17:20:36 +00:00
parent 2df8e5d5f5
commit d4b18fa9c5
1 changed files with 58 additions and 58 deletions

View File

@ -20,63 +20,63 @@ import org.apache.solr.client.solrj.SolrResponse;
import org.apache.solr.common.SolrException;
public final class ShardResponse {
private ShardRequest req;
private String shard;
private String shardAddress; // the specific shard that this response was received from
private int rspCode;
private Throwable exception;
private SolrResponse rsp;
private ShardRequest req;
private String shard;
private String shardAddress; // the specific shard that this response was received from
private int rspCode;
private Throwable exception;
private SolrResponse rsp;
public String toString() {
return "ShardResponse:{shard="+shard+",shardAddress="+shardAddress
+"\n\trequest=" + req
+"\n\tresponse=" + rsp
+ (exception==null ? "" : "\n\texception="+ SolrException.toStr(exception))
+"\n}";
}
public String toString() {
return "ShardResponse:{shard="+shard+",shardAddress="+shardAddress
+"\n\trequest=" + req
+"\n\tresponse=" + rsp
+ (exception==null ? "" : "\n\texception="+ SolrException.toStr(exception))
+"\n}";
}
public Throwable getException()
{
return exception;
}
public Throwable getException()
{
return exception;
}
public ShardRequest getShardRequest()
{
return req;
}
public ShardRequest getShardRequest()
{
return req;
}
public SolrResponse getSolrResponse()
{
return rsp;
}
public SolrResponse getSolrResponse()
{
return rsp;
}
public String getShard()
{
return shard;
}
public String getShard()
{
return shard;
}
void setShardRequest(ShardRequest rsp)
{
this.req = rsp;
}
void setShardRequest(ShardRequest rsp)
{
this.req = rsp;
}
void setSolrResponse(SolrResponse rsp)
{
this.rsp = rsp;
}
void setSolrResponse(SolrResponse rsp)
{
this.rsp = rsp;
}
void setShard(String shard)
{
this.shard = shard;
}
void setShard(String shard)
{
this.shard = shard;
}
void setException(Throwable exception)
{
this.exception = exception;
}
void setException(Throwable exception)
{
this.exception = exception;
}
void setResponseCode(int rspCode)
{
this.rspCode = rspCode;
}
void setResponseCode(int rspCode)
{
this.rspCode = rspCode;
}
}