/** * Gets the minute metrics table for a specific storage service. * * @param service * A {@link StorageService} enumeration value that indicates which storage service to use. * @return * The {@link CloudTable} object for the storage service. * @throws URISyntaxException * @throws StorageException */ public CloudTable getMinuteMetricsTable(StorageService service) throws URISyntaxException, StorageException { return this.getMinuteMetricsTable(service, null); }
/** * Gets the minute metrics table for a specific storage service. * * @param service * A {@link StorageService} enumeration value that indicates which storage service to use. * @return * The {@link CloudTable} object for the storage service. * @throws URISyntaxException * @throws StorageException */ public CloudTable getMinuteMetricsTable(StorageService service) throws URISyntaxException, StorageException { return this.getMinuteMetricsTable(service, null); }
CloudTable tableHourSecondary = this.client.getHourMetricsTable(StorageService.TABLE, StorageLocation.SECONDARY); CloudTable blobMinutePrimary = this.client.getMinuteMetricsTable(StorageService.BLOB); CloudTable blobMinuteSecondary = this.client.getMinuteMetricsTable(StorageService.BLOB, StorageLocation.SECONDARY); CloudTable fileMinutePrimary = this.client.getMinuteMetricsTable(StorageService.FILE); CloudTable fileMinuteSecondary = this.client.getMinuteMetricsTable(StorageService.FILE, StorageLocation.SECONDARY); CloudTable queueMinutePrimary = this.client.getMinuteMetricsTable(StorageService.QUEUE, StorageLocation.PRIMARY); CloudTable queueMinuteSecondary = this.client.getMinuteMetricsTable(StorageService.QUEUE, StorageLocation.SECONDARY); CloudTable tableMinutePrimary = this.client.getMinuteMetricsTable(StorageService.TABLE, StorageLocation.PRIMARY); CloudTable tableMinuteSecondary = this.client.getMinuteMetricsTable(StorageService.TABLE, StorageLocation.SECONDARY);