Class SyncedFlushRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, org.elasticsearch.core.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:
Requests.flushRequest(String...), IndicesAdminClient.syncedFlush(SyncedFlushRequest), SyncedFlushResponse
  • 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