com.netflix.loadbalancer
Class PredicateKey

java.lang.Object
  extended by com.netflix.loadbalancer.PredicateKey

public class PredicateKey
extends java.lang.Object

The input object of predicates of class AbstractServerPredicate. It includes Server and an Object as load balancer key used in IRule.choose(Object), which might be null.


Constructor Summary
PredicateKey(java.lang.Object loadBalancerKey, Server server)
           
PredicateKey(Server server)
           
 
Method Summary
 java.lang.Object getLoadBalancerKey()
           
 Server getServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateKey

public PredicateKey(java.lang.Object loadBalancerKey,
                    Server server)

PredicateKey

public PredicateKey(Server server)
Method Detail

getLoadBalancerKey

public final java.lang.Object getLoadBalancerKey()

getServer

public final Server getServer()