- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface XSiteAsyncAckListenerA listener to be notified when an asynchronous cross-site request is completed.
- Pedro Ruivo
void onAckReceived(long sendTimestampNanos, java.lang.String siteName, java.lang.Throwable throwable)Invoked when an ack for an asynchronous request is received.
If an exception is received (could be a network exception or an exception from the remote site), the
throwableis set to a non
sendTimestampNanos- The timestamp when the request was sent to the remote site (nanoseconds).
siteName- The remote site name.
throwable- The exception received (including timeouts and site unreachable) or