Class MultiOperationMasterBenchTaskResult

    • Constructor Detail

      • MultiOperationMasterBenchTaskResult

        public MultiOperationMasterBenchTaskResult​(Operation[] operations)
        Creates an instance.
        Parameters:
        operations - the operations
      • MultiOperationMasterBenchTaskResult

        public MultiOperationMasterBenchTaskResult()
        Empty constructor for json deserialization.
    • Method Detail

      • incrementNumSuccess

        public void incrementNumSuccess​(int operationIndex,
                                        long numSuccess)
        Increments the number of successes by an amount.
        Parameters:
        operationIndex - the operation index
        numSuccess - the amount to increment by
      • getStatistics

        public MasterBenchTaskResultStatistics getStatistics​(int operationIndex)
        Parameters:
        operationIndex - the operation index
        Returns:
        the statistics
      • getStatisticsPerMethod

        public java.util.Map<java.lang.String,​MasterBenchTaskResultStatistics> getStatisticsPerMethod()
        Returns:
        the statistics per method
      • aggregator

        public alluxio.stress.master.MultiOperationMasterBenchTaskResult.Aggregator aggregator()
        Returns:
        the aggregator that can produce a summary
      • getNumSuccessOperations

        public long getNumSuccessOperations()
        Returns:
        the number of success operations from all statistics