Class SyncedFlushRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, RefCounted, TaskAwareRequest

public class SyncedFlushRequest extends BroadcastRequest<SyncedFlushRequest>
A synced flush request to sync flush one or more indices. The synced flush process of an index performs a flush and writes the same sync id to primary and all copies.

Best created with Requests.syncedFlushRequest(String...).

See Also:
  • Constructor Details

    • SyncedFlushRequest

      public SyncedFlushRequest(String... indices)
      Constructs a new synced flush request against one or more indices. If nothing is provided, all indices will be sync flushed.
    • SyncedFlushRequest

      public SyncedFlushRequest(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details