Package fr.gouv.vitam.storage.engine.server.distribution.impl

# Class TransfertTimeoutHelper

java.lang.Object
fr.gouv.vitam.storage.engine.server.distribution.impl.TransfertTimeoutHelper

public class TransfertTimeoutHelper extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TransfertTimeoutHelper(long millisecondsPerKB, int minObjectWriteTimeoutMs, int minBulkWriteTimeoutMsPerObject)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getBulkTransferTimeout(long sizeToTransfer, int nbObjects)`
  `long`
  `getTransferTimeout(long sizeToTransfer)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TransfertTimeoutHelper

    public TransfertTimeoutHelper(long millisecondsPerKB, int minObjectWriteTimeoutMs, int minBulkWriteTimeoutMsPerObject)

- ## Method Details

  - ### getTransferTimeout

    public long getTransferTimeout(long sizeToTransfer)

  - ### getBulkTransferTimeout

    public long getBulkTransferTimeout(long sizeToTransfer, int nbObjects)