Package com.linkedin.venice.blobtransfer
Class BlobTransferUtil
- java.lang.Object
-
- com.linkedin.venice.blobtransfer.BlobTransferUtil
-
public class BlobTransferUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BlobTransferUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlobTransferManager<java.lang.Void>
getP2PBlobTransferManagerAndStart(int p2pTransferServerPort, int p2pTransferClientPort, java.lang.String baseDir, ClientConfig clientConfig)
static BlobTransferManager<java.lang.Void>
getP2PBlobTransferManagerAndStart(int p2pTransferPort, java.lang.String baseDir, ClientConfig clientConfig)
Get a P2P blob transfer manager and start it.
-
-
-
Method Detail
-
getP2PBlobTransferManagerAndStart
public static BlobTransferManager<java.lang.Void> getP2PBlobTransferManagerAndStart(int p2pTransferPort, java.lang.String baseDir, ClientConfig clientConfig)
Get a P2P blob transfer manager and start it.- Parameters:
p2pTransferPort
- , the port used by the P2P transfer service and clientbaseDir
- , the base directory of the underlying storageclientConfig
- , the client config to start up a transport client- Returns:
- Throws:
java.lang.Exception
-
getP2PBlobTransferManagerAndStart
public static BlobTransferManager<java.lang.Void> getP2PBlobTransferManagerAndStart(int p2pTransferServerPort, int p2pTransferClientPort, java.lang.String baseDir, ClientConfig clientConfig)
-
-