@Test public void listFileBuckets() throws Exception { BucketTopologyHelper bucketTopologyHelper = loadTopology("topology-test.conf"); assertThat(bucketTopologyHelper.listFileBuckets()).containsExactlyInAnyOrder( "test-metadata", "test-objects", "test-default", "admin-metadata", "admin-objects", "admin-default", "prod-metadata", "prod-objects", "prod-default"); }
public Set<String> listFileBuckets() { return new HashSet<>(this.containerToFileBucketMap.values()); }
BucketTopologyHelper { public Set<String> listFileBuckets() { return new HashSet<>(this.containerToFileBucketMap.values()); } }
BucketTopologyHelper { public Set<String> listFileBuckets() { return new HashSet<>(this.containerToFileBucketMap.values()); } BucketTopologyHelper(TapeLibraryTopologyConfiguration configuration); }
BucketTopologyHelper { public Set<String> listFileBuckets() { return new HashSet<>(this.containerToFileBucketMap.values()); } BucketTopologyHelper(TapeLibraryTopologyConfiguration configuration); static String getFileBucketId(String bucket, String fileBucket); String getFileBucketFromContainerName(String containerName); String getBucketFromFileBucket(String fileBucket); Set<String> listFileBuckets(); Set<String> listContainerNames(String fileBucketId); Integer getTarBufferingTimeoutInMinutes(String bucketId); }
BucketTopologyHelper { public Set<String> listFileBuckets() { return new HashSet<>(this.containerToFileBucketMap.values()); } BucketTopologyHelper(TapeLibraryTopologyConfiguration configuration); static String getFileBucketId(String bucket, String fileBucket); String getFileBucketFromContainerName(String containerName); String getBucketFromFileBucket(String fileBucket); Set<String> listFileBuckets(); Set<String> listContainerNames(String fileBucketId); Integer getTarBufferingTimeoutInMinutes(String bucketId); static final String DEFAULT; static final String BACKUP_BUCKET; static final String BACKUP_FILE_BUCKET; }