Package fr.gouv.vitam.metadata.core.ExportsPurge

# Class ExportsPurgeService

java.lang.Object
fr.gouv.vitam.metadata.core.ExportsPurge.ExportsPurgeService

public class ExportsPurgeService extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `DIP_CONTAINER`
  `static final String`
  `TRANSFERS_CONTAINER`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExportsPurgeService(TimeToLiveConfiguration timeToLiveConfiguration)`
  `ExportsPurgeService(WorkspaceClientFactory workspaceClientFactory, StorageClientFactory storageClientFactory, TimeToLiveConfiguration timeToLiveConfiguration)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `migrationPurgeDipFilesFromOffers()`
  `void`
  `purgeExpiredFiles(String container)`

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

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

- ## Field Details

  - ### DIP_CONTAINER

    public static final String DIP_CONTAINER
    See Also:
      - Constant Field Values

  - ### TRANSFERS_CONTAINER

    public static final String TRANSFERS_CONTAINER
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### ExportsPurgeService

    public ExportsPurgeService(TimeToLiveConfiguration timeToLiveConfiguration)

  - ### ExportsPurgeService

    public ExportsPurgeService(WorkspaceClientFactory workspaceClientFactory, StorageClientFactory storageClientFactory, TimeToLiveConfiguration timeToLiveConfiguration)

- ## Method Details

  - ### purgeExpiredFiles

    public void purgeExpiredFiles(String container) throws ContentAddressableStorageServerException
    Throws:
      `ContentAddressableStorageServerException`

  - ### migrationPurgeDipFilesFromOffers

    public void migrationPurgeDipFilesFromOffers() throws StorageServerClientException
    Throws:
      `StorageServerClientException`