Tabnine Logo
LogBlobIterable
Code IndexAdd Tabnine to your IDE (free)

How to use
LogBlobIterable
in
com.microsoft.azure.storage.analytics

Best Java code snippets using com.microsoft.azure.storage.analytics.LogBlobIterable (Showing top 4 results out of 315)

origin: com.microsoft.azure/azure-storage

/**
 * Returns an enumerable collection of log records, retrieved lazily.
 * 
 * @param service
 *            A {@link StorageService} enumeration value that indicates which storage service to use.
 * @param startTime
 *            A <code>java.util.Date</code> object representing the start of the time range for which logs should
 *            be retrieved.
 * @param endTime
 *            A <code>java.util.Date</code> object representing the end of the time range for which logs should
 *            be retrieved.
 * @param options
 *            A {@link BlobRequestOptions} object that specifies additional options for the request.
 * @param operationContext
 *            An {@link OperationContext} object that represents the context for the current operation.
 * @return
 *         An enumerable collection of objects that implement {@link ListBlobItem} and are retrieved lazily.
 * @throws StorageException
 * @throws URISyntaxException
 */
public Iterable<LogRecord> listLogRecords(StorageService service, Date startTime, Date endTime,
    BlobRequestOptions options, OperationContext operationContext) throws StorageException, URISyntaxException {
  Utility.assertNotNull("service", service);
  EnumSet<LoggingOperations> operations = EnumSet.allOf(LoggingOperations.class);
  EnumSet<BlobListingDetails> metadataDetails = EnumSet.noneOf(BlobListingDetails.class);
  Iterator<ListBlobItem> blobIterator = new LogBlobIterable(this.getLogDirectory(service), startTime, endTime,
      operations, metadataDetails, options, operationContext).iterator();
  return new LogRecordIterable(blobIterator);
}
origin: Azure/azure-storage-android

return new LogBlobIterable(this.getLogDirectory(service), startTime, endTime, operations, metadataDetails,
    options, operationContext);
origin: com.microsoft.azure/azure-storage

return new LogBlobIterable(this.getLogDirectory(service), startTime, endTime, operations, metadataDetails,
    options, operationContext);
origin: Azure/azure-storage-android

/**
 * Returns an enumerable collection of log records, retrieved lazily.
 * 
 * @param service
 *            A {@link StorageService} enumeration value that indicates which storage service to use.
 * @param startTime
 *            A <code>java.util.Date</code> object representing the start of the time range for which logs should
 *            be retrieved.
 * @param endTime
 *            A <code>java.util.Date</code> object representing the end of the time range for which logs should
 *            be retrieved.
 * @param options
 *            A {@link BlobRequestOptions} object that specifies additional options for the request.
 * @param operationContext
 *            An {@link OperationContext} object that represents the context for the current operation.
 * @return
 *         An enumerable collection of objects that implement {@link ListBlobItem} and are retrieved lazily.
 * @throws StorageException
 * @throws URISyntaxException
 */
public Iterable<LogRecord> listLogRecords(StorageService service, Date startTime, Date endTime,
    BlobRequestOptions options, OperationContext operationContext) throws StorageException, URISyntaxException {
  Utility.assertNotNull("service", service);
  EnumSet<LoggingOperations> operations = EnumSet.allOf(LoggingOperations.class);
  EnumSet<BlobListingDetails> metadataDetails = EnumSet.noneOf(BlobListingDetails.class);
  Iterator<ListBlobItem> blobIterator = new LogBlobIterable(this.getLogDirectory(service), startTime, endTime,
      operations, metadataDetails, options, operationContext).iterator();
  return new LogRecordIterable(blobIterator);
}
com.microsoft.azure.storage.analyticsLogBlobIterable

Javadoc

RESERVED FOR INTERNAL USE. Provides an overlay on the LazySegmentedIterable class for enumerating Storage Analytics log blobs. This handles the logic for the listLogBlobs() methods found in the CloudAnalyticsClient class.

Most used methods

  • <init>
  • iterator

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JLabel (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now