org.elasticsearch.index.get
Class GetStats
java.lang.Object
org.elasticsearch.index.get.GetStats
- All Implemented Interfaces:
- Streamable, ToXContent
public class GetStats
- extends Object
- implements Streamable, ToXContent
Constructor Summary |
GetStats()
|
GetStats(long existsCount,
long existsTimeInMillis,
long missingCount,
long missingTimeInMillis,
long current)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetStats
public GetStats()
GetStats
public GetStats(long existsCount,
long existsTimeInMillis,
long missingCount,
long missingTimeInMillis,
long current)
add
public void add(GetStats stats)
count
public long count()
getCount
public long getCount()
timeInMillis
public long timeInMillis()
getTimeInMillis
public long getTimeInMillis()
time
public TimeValue time()
getTime
public TimeValue getTime()
existsCount
public long existsCount()
getExistsCount
public long getExistsCount()
existsTimeInMillis
public long existsTimeInMillis()
getExistsTimeInMillis
public long getExistsTimeInMillis()
existsTime
public TimeValue existsTime()
getExistsTime
public TimeValue getExistsTime()
missingCount
public long missingCount()
getMissingCount
public long getMissingCount()
missingTimeInMillis
public long missingTimeInMillis()
getMissingTimeInMillis
public long getMissingTimeInMillis()
missingTime
public TimeValue missingTime()
getMissingTime
public TimeValue getMissingTime()
current
public long current()
getCurrent
public long getCurrent()
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
readGetStats
public static GetStats readGetStats(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.