Class RequestCallbacks


  • public class RequestCallbacks
    extends java.lang.Object
    An expiring map of request callbacks. Used to match response (id, peer) pairs to corresponding RequestCallbacks, or, if said responses don't arrive in a timely manner (within verb's timeout), to expire the callbacks. Since we reuse the same request id for multiple messages now, the map is keyed by (id, peer) tuples rather than just id as it used to before 4.0.