Class NullElection

java.lang.Object
com.github.cafapi.common.elections.Null.NullElection
All Implemented Interfaces:
Election

public class NullElection extends Object implements Election
  • Constructor Details

  • Method Details

    • enter

      public void enter()
      Description copied from interface: Election
      Request to enter the election process of this specific election
      Specified by:
      enter in interface Election
    • withdraw

      public void withdraw()
      Description copied from interface: Election
      Request withdrawal as leader, triggering a re-election process.
      Specified by:
      withdraw in interface Election
    • resign

      public void resign()
      Description copied from interface: Election
      Terminate participation in this election process, withdrawing as leader if elected.
      Specified by:
      resign in interface Election