use of com.linkedin.d2.discovery.event.PropertyEventThread.PropertyEvent in project rest.li by linkedin.
the class SimpleLoadBalancerState method register.
public void register(final SimpleLoadBalancerStateListener listener) {
trace(_log, "register listener: ", listener);
_executor.execute(new PropertyEvent("add listener for state") {
@Override
public void innerRun() {
_listeners.add(listener);
}
});
}
Aggregations