net.sf.sparql.benchmarking.stats.impl
Class OperationRunImpl

java.lang.Object
  extended by net.sf.sparql.benchmarking.stats.impl.AbstractOperationRun
      extended by net.sf.sparql.benchmarking.stats.impl.OperationRunImpl
All Implemented Interfaces:
Comparable<OperationRun>, OperationRun

public final class OperationRunImpl
extends AbstractOperationRun

A general purpose operation run implementation

Author:
rvesse

Field Summary
 
Fields inherited from interface net.sf.sparql.benchmarking.stats.OperationRun
NOT_YET_RUN, UNKNOWN
 
Constructor Summary
OperationRunImpl(long runtime)
          Creates an operation which represents the results of successfully running an operation
OperationRunImpl(long runtime, long resultCount)
          Creates an operation run which represents the results of successfully running an operation
OperationRunImpl(long runtime, long responseTime, long resultCount)
          Creates an operation run which represents the results of successfully running an operation
OperationRunImpl(String error, int category, long runtime)
          Creates a operation run which represents that the failed running of an operation
 
Method Summary
 
Methods inherited from class net.sf.sparql.benchmarking.stats.impl.AbstractOperationRun
compareTo, getErrorCategory, getErrorMessage, getId, getResponseTime, getResultCount, getRunOrder, getRuntime, setId, setRunOrder, wasSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationRunImpl

public OperationRunImpl(long runtime)
Creates an operation which represents the results of successfully running an operation

Parameters:
runtime - Runtime

OperationRunImpl

public OperationRunImpl(String error,
                        int category,
                        long runtime)
Creates a operation run which represents that the failed running of an operation

Parameters:
error - Error Message
category - Error category
runtime - Runtime, this is the amount of time elapsed until the error was reached

OperationRunImpl

public OperationRunImpl(long runtime,
                        long resultCount)
Creates an operation run which represents the results of successfully running an operation

Parameters:
runtime - Runtime
resultCount - Result Count

OperationRunImpl

public OperationRunImpl(long runtime,
                        long responseTime,
                        long resultCount)
Creates an operation run which represents the results of successfully running an operation

Parameters:
runtime - Runtime
responseTime - Response Time
resultCount - Result Count


Copyright © 2014. All Rights Reserved.