Class ActiveOperationContext

java.lang.Object
org.apache.hadoop.fs.s3a.impl.ActiveOperationContext
Direct Known Subclasses:
S3AOpContext

public class ActiveOperationContext extends Object
Context for any active operation.
  • Constructor Details

    • ActiveOperationContext

      public ActiveOperationContext(long operationId, S3AStatisticsContext statisticsContext)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOperationId

      public long getOperationId()
    • getS3AStatisticsContext

      public S3AStatisticsContext getS3AStatisticsContext()
    • newOperationId

      protected static long newOperationId()
      Create an operation ID. The nature of it should be opaque.
      Returns:
      an ID for the constructor.