Class AbstractCoordinatorTestCase.Cluster

java.lang.Object
org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase.Cluster
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable
Enclosing class:
AbstractCoordinatorTestCase

public class AbstractCoordinatorTestCase.Cluster extends Object implements org.elasticsearch.core.Releasable
  • Constructor Details

    • Cluster

      public Cluster(int initialNodeCount, boolean allNodesMasterEligible, Settings nodeSettings)
  • Method Details

    • runRandomly

      public void runRandomly()
    • stabilise

      public void stabilise()
    • stabilise

      public void stabilise(long stabilisationDurationMillis)
    • getAnyLeader

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable
    • extraNamedWriteables

      protected List<NamedWriteableRegistry.Entry> extraNamedWriteables()
    • transportDelayMillis

      protected long transportDelayMillis(String actionName)