Class ForceLeader

All Implemented Interfaces:
ForceLeaderApi

public class ForceLeader extends AdminAPIBase implements ForceLeaderApi
V2 API implementation for triggering a leader election on a particular collection and shard.

This API (POST /v2/collections/collectionName/shards/shardName/force-leader) is analogous to the v1 /admin/collections?action=FORCELEADER command.