Interface RealtimeRequest

All Known Implementing Classes:
GetRequest, MultiGetRequest, MultiTermVectorsRequest, TermVectorsRequest

public interface RealtimeRequest
Indicates that a request can execute in realtime (reads from the translog). All ActionRequest that are realtime should implement this interface.
  • Method Summary

    Modifier and Type Method Description
    <R extends RealtimeRequest>
    R
    realtime​(boolean realtime)  
  • Method Details

    • realtime

      <R extends RealtimeRequest> R realtime​(boolean realtime)
      Parameters:
      realtime - Controls whether this request should be realtime by reading from the translog.