Class CoreSorter

  • All Implemented Interfaces:

    public final class CoreSorter
    extends Object
    implements Comparator<CoreDescriptor>
    This is a utility class that sorts cores in such a way as to minimize other cores waiting for replicas in the current node. This helps in avoiding leaderVote timeouts happening in other nodes of the cluster