# Uses of Class
fr.gouv.vitam.workspace.api.model.TimeToLive

Packages that use TimeToLive
Package
Description
fr.gouv.vitam.workspace.api.model
Provides Model classes for the Workspace module
fr.gouv.vitam.workspace.client
Provides Workspace client factory and implementations.
fr.gouv.vitam.workspace.common
Provides common classes for the Workspace module.
fr.gouv.vitam.workspace.rest
Provides the web server application for the Workspace module and the rest resources it uses.

- ## Uses of TimeToLive in fr.gouv.vitam.workspace.api.model

  Methods in fr.gouv.vitam.workspace.api.model that return TimeToLive
  Modifier and Type
  Method
  Description
  `TimeToLive`
  TimeToLive.`setUnit(ChronoUnit unit)`
  `TimeToLive`
  TimeToLive.`setValue(int value)`

- ## Uses of TimeToLive in fr.gouv.vitam.workspace.client

  Methods in fr.gouv.vitam.workspace.client with parameters of type TimeToLive
  Modifier and Type
  Method
  Description
  `void`
  WorkspaceClient.`purgeOldFilesInContainer(String containerName, TimeToLive timeToLive)`

- ## Uses of TimeToLive in fr.gouv.vitam.workspace.common

  Methods in fr.gouv.vitam.workspace.common with parameters of type TimeToLive
  Modifier and Type
  Method
  Description
  `void`
  WorkspaceContentAddressableStorage.`purgeOldFilesInContainer(String containerName, TimeToLive timeToLive)`
  `void`
  WorkspaceFileSystem.`purgeOldFilesInContainer(String containerName, TimeToLive timeToLive)`

- ## Uses of TimeToLive in fr.gouv.vitam.workspace.rest

  Methods in fr.gouv.vitam.workspace.rest with parameters of type TimeToLive
  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  WorkspaceResource.`purgeOldFilesInContainer(String containerName, TimeToLive timeToLive)`
  deletes old file in a container in the workspace