com.redismq.rebalance.AllocateMessageQueueStrategy Maven / Gradle / Ivy
package com.redismq.rebalance;
import java.util.List;
public interface AllocateMessageQueueStrategy {
List allocate(
final String currentCID,
final List mqNames,
final List cidNames
);
/**
* Algorithm name
*
* @return The strategy name
*/
String getName();
}