All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.p2p.recovery.RecoveryClient Maven / Gradle / Ivy

package com.quorum.tessera.p2p.recovery;

import com.quorum.tessera.p2p.resend.ResendClient;
import com.quorum.tessera.serviceloader.ServiceLoaderUtil;
import java.util.ServiceLoader;

public interface RecoveryClient extends ResendClient {

  boolean pushBatch(String targetUrl, PushBatchRequest request);

  ResendBatchResponse makeBatchResendRequest(String targetUrl, ResendBatchRequest request);

  static RecoveryClient create() {
    return ServiceLoaderUtil.loadSingle(ServiceLoader.load(RecoveryClient.class));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy