Interface RpcMultiplexer

All Known Implementing Classes:
WeightedRoundRobinMultiplexer

public interface RpcMultiplexer
Implement this interface to make a pluggable multiplexer in the FairCallQueue.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Should get current index and optionally perform whatever is needed to prepare the next index.
  • Method Details

    • getAndAdvanceCurrentIndex

      int getAndAdvanceCurrentIndex()
      Should get current index and optionally perform whatever is needed to prepare the next index.
      Returns:
      current index