com.google.caliper.runner
Class FullCartesianScenarioSelection

java.lang.Object
  extended by com.google.caliper.runner.FullCartesianScenarioSelection
All Implemented Interfaces:
ScenarioSelection

public final class FullCartesianScenarioSelection
extends Object
implements ScenarioSelection

A set of scenarios constructed by taking all possible combinations of benchmark methods, user parameters, VM specs and VM arguments.


Constructor Summary
FullCartesianScenarioSelection(Collection<BenchmarkMethod> benchmarkMethods, Collection<VirtualMachine> vms, com.google.common.collect.SetMultimap<String,String> userParameters, com.google.common.collect.SetMultimap<String,String> vmArguments)
           
 
Method Summary
 com.google.common.collect.ImmutableSet<BenchmarkMethod> benchmarkMethods()
           
 com.google.common.collect.ImmutableSet<Scenario> buildScenarios()
           
 String selectionType()
           
 com.google.common.collect.ImmutableSetMultimap<String,String> userParameters()
           
 com.google.common.collect.ImmutableSetMultimap<String,String> vmArguments()
           
 com.google.common.collect.ImmutableSet<VirtualMachine> vms()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullCartesianScenarioSelection

public FullCartesianScenarioSelection(Collection<BenchmarkMethod> benchmarkMethods,
                                      Collection<VirtualMachine> vms,
                                      com.google.common.collect.SetMultimap<String,String> userParameters,
                                      com.google.common.collect.SetMultimap<String,String> vmArguments)
Method Detail

benchmarkMethods

public com.google.common.collect.ImmutableSet<BenchmarkMethod> benchmarkMethods()
Specified by:
benchmarkMethods in interface ScenarioSelection

vms

public com.google.common.collect.ImmutableSet<VirtualMachine> vms()
Specified by:
vms in interface ScenarioSelection

userParameters

public com.google.common.collect.ImmutableSetMultimap<String,String> userParameters()
Specified by:
userParameters in interface ScenarioSelection

vmArguments

public com.google.common.collect.ImmutableSetMultimap<String,String> vmArguments()
Specified by:
vmArguments in interface ScenarioSelection

buildScenarios

public com.google.common.collect.ImmutableSet<Scenario> buildScenarios()
Specified by:
buildScenarios in interface ScenarioSelection

selectionType

public String selectionType()
Specified by:
selectionType in interface ScenarioSelection


Copyright © 2009-2011 Google, Inc.. All Rights Reserved.