Class P2PBlobTransferConfig

java.lang.Object
com.linkedin.davinci.blobtransfer.P2PBlobTransferConfig

public class P2PBlobTransferConfig extends Object
All configs for P2P blob transfer.
  • Constructor Details

    • P2PBlobTransferConfig

      public P2PBlobTransferConfig(int p2pTransferServerPort, int p2pTransferClientPort, String baseDir, int maxConcurrentSnapshotUser, int snapshotRetentionTimeInMin, int blobTransferMaxTimeoutInMin, int blobReceiveMaxTimeoutInMin, int blobReceiveReaderIdleTimeInSeconds, BlobTransferUtils.BlobTransferTableFormat transferSnapshotTableFormat, int peersConnectivityFreshnessInSeconds, long blobTransferClientReadLimitBytesPerSec, long blobTransferServiceWriteLimitBytesPerSec, int snapshotCleanupIntervalInMins, int maxConcurrentBlobReceiveReplicas, int p2pTransferClientNettyWorkerThreadCount)
  • Method Details

    • getP2pTransferServerPort

      public int getP2pTransferServerPort()
    • getP2pTransferClientPort

      public int getP2pTransferClientPort()
    • getBaseDir

      public String getBaseDir()
    • getMaxConcurrentSnapshotUser

      public int getMaxConcurrentSnapshotUser()
    • getSnapshotRetentionTimeInMin

      public int getSnapshotRetentionTimeInMin()
    • getBlobTransferMaxTimeoutInMin

      public int getBlobTransferMaxTimeoutInMin()
    • getBlobReceiveTimeoutInMin

      public int getBlobReceiveTimeoutInMin()
    • getBlobReceiveReaderIdleTimeInSeconds

      public int getBlobReceiveReaderIdleTimeInSeconds()
    • getTransferSnapshotTableFormat

      public BlobTransferUtils.BlobTransferTableFormat getTransferSnapshotTableFormat()
    • getPeersConnectivityFreshnessInSeconds

      public int getPeersConnectivityFreshnessInSeconds()
    • getBlobTransferClientReadLimitBytesPerSec

      public long getBlobTransferClientReadLimitBytesPerSec()
    • getBlobTransferServiceWriteLimitBytesPerSec

      public long getBlobTransferServiceWriteLimitBytesPerSec()
    • getSnapshotCleanupIntervalInMins

      public int getSnapshotCleanupIntervalInMins()
    • getMaxConcurrentBlobReceiveReplicas

      public int getMaxConcurrentBlobReceiveReplicas()
    • getP2pTransferClientNettyWorkerThreadCount

      public int getP2pTransferClientNettyWorkerThreadCount()