Interface Policy
-
- All Known Implementing Classes:
AbstractPolicy,ConsistentHashModuloPolicy,ConsistentHashPolicy,FirstElementPolicy,LeastConnectionsPolicy,RoundRobinPolicy
public interface Policy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()Map<String,String>getProperties()TargetProbegetTargetProbe()voidinit(Map<String,String> properties)default TargetselectTarget(List<Target> targets, String key)default StringtransformKey(String key)
-
-
-
Method Detail
-
getName
String getName()
-
getTargetProbe
TargetProbe getTargetProbe()
-
-