public class LatchedActionListener<T> extends Object implements ActionListener<T>
CountDownLatch that
will be counted down after onResponse or onFailure is called| Constructor and Description |
|---|
LatchedActionListener(ActionListener<T> delegate,
CountDownLatch latch) |
public LatchedActionListener(ActionListener<T> delegate, CountDownLatch latch)
public void onResponse(T t)
ActionListeneronResponse in interface ActionListener<T>public void onFailure(Throwable e)
ActionListeneronFailure in interface ActionListener<T>Copyright © 2009–2017. All rights reserved.