Class BucketTopologyHelper
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.cas.BucketTopologyHelper
-
public class BucketTopologyHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BACKUP_BUCKET
static java.lang.String
BACKUP_FILE_BUCKET
static java.lang.String
DEFAULT
-
Constructor Summary
Constructors Constructor Description BucketTopologyHelper(TapeLibraryTopologyConfiguration configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBucketFromFileBucket(java.lang.String fileBucket)
java.lang.String
getFileBucketFromContainerName(java.lang.String containerName)
static java.lang.String
getFileBucketId(java.lang.String bucket, java.lang.String fileBucket)
java.lang.Integer
getTarBufferingTimeoutInMinutes(java.lang.String bucketId)
java.util.Set<java.lang.String>
listContainerNames(java.lang.String fileBucketId)
java.util.Set<java.lang.String>
listFileBuckets()
-
-
-
Field Detail
-
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
BACKUP_BUCKET
public static final java.lang.String BACKUP_BUCKET
- See Also:
- Constant Field Values
-
BACKUP_FILE_BUCKET
public static final java.lang.String BACKUP_FILE_BUCKET
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BucketTopologyHelper
public BucketTopologyHelper(TapeLibraryTopologyConfiguration configuration)
-
-
Method Detail
-
getFileBucketId
public static java.lang.String getFileBucketId(java.lang.String bucket, java.lang.String fileBucket)
-
getFileBucketFromContainerName
public java.lang.String getFileBucketFromContainerName(java.lang.String containerName)
-
getBucketFromFileBucket
public java.lang.String getBucketFromFileBucket(java.lang.String fileBucket)
-
listFileBuckets
public java.util.Set<java.lang.String> listFileBuckets()
-
listContainerNames
public java.util.Set<java.lang.String> listContainerNames(java.lang.String fileBucketId)
-
getTarBufferingTimeoutInMinutes
public java.lang.Integer getTarBufferingTimeoutInMinutes(java.lang.String bucketId)
-
-