public class SearchStatus extends Object implements Serializable, Cloneable
Contains the resource id (rid
) and the time it took to process
the request (timems
).
Constructor and Description |
---|
SearchStatus() |
Modifier and Type | Method and Description |
---|---|
SearchStatus |
clone() |
boolean |
equals(Object obj) |
String |
getRid()
The encrypted resource ID for the request.
|
Long |
getTimems()
How long it took to process the request, in milliseconds.
|
int |
hashCode() |
void |
setRid(String rid)
The encrypted resource ID for the request.
|
void |
setTimems(Long timems)
How long it took to process the request, in milliseconds.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchStatus |
withRid(String rid)
The encrypted resource ID for the request.
|
SearchStatus |
withTimems(Long timems)
How long it took to process the request, in milliseconds.
|
public void setTimems(Long timems)
How long it took to process the request, in milliseconds.
timems
- How long it took to process the request, in milliseconds.public Long getTimems()
How long it took to process the request, in milliseconds.
public SearchStatus withTimems(Long timems)
How long it took to process the request, in milliseconds.
timems
- How long it took to process the request, in milliseconds.public void setRid(String rid)
The encrypted resource ID for the request.
rid
- The encrypted resource ID for the request.public String getRid()
The encrypted resource ID for the request.
public SearchStatus withRid(String rid)
The encrypted resource ID for the request.
rid
- The encrypted resource ID for the request.public String toString()
toString
in class Object
Object.toString()
public SearchStatus clone()
Copyright © 2018. All rights reserved.