Package com.yahoo.search.statistics
Class PeakQpsSearcher.QpsHit
java.lang.Object
com.yahoo.component.provider.FreezableClass
com.yahoo.component.provider.ListenableFreezableClass
com.yahoo.search.result.Hit
com.yahoo.search.statistics.PeakQpsSearcher.QpsHit
- All Implemented Interfaces:
com.yahoo.component.provider.Freezable
,com.yahoo.component.provider.ListenableFreezable
,com.yahoo.processing.response.Data
,Cloneable
,Comparable<Hit>
- Enclosing class:
- PeakQpsSearcher
Meta hit which carries the peak qps and mean qps since the last time this
data was requested. The URI is always "meta:qps". The data is stored as
Number subclasses in the fields named by the fields PEAK_QPS and MEAN_QPS
in the QpsHit class.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.search.result.Hit
Hit.RawUtf8Consumer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the field containing mean QPS since the last measurement.static final String
The name of the field containing peak QPS since the last measurement.static final String
Fields inherited from class com.yahoo.search.result.Hit
RANKFEATURES_FIELD, SDDOCNAME_FIELD
-
Constructor Summary
-
Method Summary
Methods inherited from class com.yahoo.search.result.Hit
assignId, buildHitField, clearFields, clone, close, compareTo, equals, features, fieldIterator, fieldKeys, fields, forEachField, forEachFieldAsRaw, getDisplayId, getField, getFilled, getId, getQuery, getRelevance, getSearcherSpecificMetaData, getSource, hasField, hasFields, hashCode, isAuxiliary, isCached, isFillable, isFilled, removeField, request, reserve, setAuxiliary, setCached, setField, setFillable, setFilled, setId, setId, setMeta, setQuery, setRelevance, setRelevance, setSearcherSpecificMetaData, setSource, types
Methods inherited from class com.yahoo.component.provider.ListenableFreezableClass
addFreezeListener, freeze
Methods inherited from class com.yahoo.component.provider.FreezableClass
ensureNotFrozen, isFrozen
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.component.provider.Freezable
freeze, isFrozen
Methods inherited from interface com.yahoo.component.provider.ListenableFreezable
addFreezeListener
-
Field Details
-
MEAN_QPS
The name of the field containing mean QPS since the last measurement.- See Also:
-
PEAK_QPS
The name of the field containing peak QPS since the last measurement.- See Also:
-
SCHEME
- See Also:
-
-
Constructor Details
-
QpsHit
-
-
Method Details
-
isMeta
public boolean isMeta()Description copied from class:Hit
Returns whether this is a concrete hit, containing content of the requested kind, or a meta hit containing information on the collection of hits, the query, the service and so on. This default implementation return false. -
toString
-