Package org.apache.hadoop.ipc
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 TypeMethodDescriptionintShould 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
-