Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abortedDependencies - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- AbstractDependencyDescription - Class in cambio.simulator.entities.networking
-
An abstract implementation of
DependencyDescription
taking care of the probabilities and alternative probabilities. - AbstractDependencyDescription(Model, double) - Constructor for class cambio.simulator.entities.networking.AbstractDependencyDescription
-
Constructs a new Dependency object.
- AbstractDependencyDescription(Model, double, double) - Constructor for class cambio.simulator.entities.networking.AbstractDependencyDescription
-
Constructs a new Dependency object.
- accReporter - Variable in class cambio.simulator.entities.microservice.Microservice
- AccumulativeDataPointReporter - Class in cambio.simulator.export
-
Accumulates numeric data points.
- AccumulativeDataPointReporter(Model) - Constructor for class cambio.simulator.export.AccumulativeDataPointReporter
-
Constructs a new data point reporter.
- AccumulativeDataPointReporter(Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.AccumulativeDataPointReporter
-
Constructs a new data point reporter.
- AccumulativeDataPointReporter(String, Model) - Constructor for class cambio.simulator.export.AccumulativeDataPointReporter
-
Constructs a new data point reporter.
- AccumulativeDataPointReporter(String, Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.AccumulativeDataPointReporter
-
Constructs a new data point reporter.
- accumulator() - Method in class cambio.simulator.misc.CollectorImpl
- activatePatterns(InstanceOwnedPatternConfiguration[]) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Activates the patterns that are owned by this instance.
- add(TimeInstant, TimeInstant) - Static method in class cambio.simulator.misc.TimeUtil
- addDatapoint(String, TimeInstant, Number) - Method in class cambio.simulator.export.AccumulativeDataPointReporter
- addDatapoint(String, TimeInstant, Number) - Method in class cambio.simulator.export.AverageDataPointReporter
- addDatapoint(String, TimeInstant, Number) - Method in class cambio.simulator.export.SnapshotDataPointReporter
- addDatapoint(String, TimeInstant, Collection<T>) - Method in class cambio.simulator.export.ListCollectingReporter
- addDatapoint(String, TimeInstant, T...) - Method in class cambio.simulator.export.AccumulativeDataPointReporter
- addDatapoint(String, TimeInstant, T...) - Method in class cambio.simulator.export.BucketMultiDataPointReporter
- addDatapoint(String, TimeInstant, T...) - Method in class cambio.simulator.export.ListCollectingReporter
- addDatapoint(String, TimeInstant, T...) - Method in class cambio.simulator.export.MiSimReporter
-
Adds a new datapoint to the given dataset.
- addDatapoint(String, TimeInstant, T...) - Method in class cambio.simulator.export.MultiDataPointReporter
-
Adds a new datapoint to the given dataset.
- addDataPoint(double, boolean[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, byte[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, char[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, double[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, float[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, int[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, long[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, short[]) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, Iterable<?>) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, Object) - Method in class cambio.simulator.export.AsyncListReportWriter
- addDataPoint(double, Object) - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- addDataPoint(double, Object) - Method in class cambio.simulator.export.AsyncReportWriter
- addUpdateListener(IRequestUpdateListener) - Method in class cambio.simulator.entities.networking.Request
-
Adds a new
IRequestUpdateListener
to the request. - addUpdateListener(IRequestUpdateListener) - Method in class cambio.simulator.entities.networking.RequestSender
-
Adds a listener to this sender.
- addUpdateListeners(Iterable<IRequestUpdateListener>) - Method in class cambio.simulator.entities.networking.RequestSender
-
Adds multiple listeners.
- AlternativeDependencyDescription - Class in cambio.simulator.entities.networking
-
An intermediate
DependencyDescription
that picks one child dependency based on a probability for execution. - AlternativeDependencyDescription(Model, double, double) - Constructor for class cambio.simulator.entities.networking.AlternativeDependencyDescription
-
Creates a new alternative dependency.
- alternativeNames() - Element in annotation interface cambio.simulator.parsing.JsonTypeName
-
All alternative type names of class that can represent it in a MiSim architecture or experiment description.
- ANSWERED - Enum constant in enum class cambio.simulator.entities.networking.RequestState
- apply(Microservice) - Method in interface cambio.simulator.entities.patterns.IAutoscalingPolicy
- applyDelay(NumericalDist<Double>, Operation, Operation) - Method in class cambio.simulator.entities.microservice.Microservice
-
Applies the given delay distribution to the given operations.
- applyExtraDelay(NumericalDist<Double>) - Method in class cambio.simulator.entities.microservice.Operation
-
Add extra delay to every dependency of this operation.
- applyExtraDelay(NumericalDist<Double>) - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
Add additional delay to all leaf descendants.
- applyExtraDelay(NumericalDist<Double>) - Method in class cambio.simulator.entities.networking.IntermediateDependencyDescription
- applyExtraDelay(NumericalDist<Double>) - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- applyExtraDelay(NumericalDist<Double>, Operation) - Method in class cambio.simulator.entities.microservice.Operation
-
Add additional delay to this operation.
- applyExtraDelay(NumericalDist<Double>, Operation) - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
Add additional delay to all leaf descendants with the specified target.
- applyExtraDelay(NumericalDist<Double>, Operation) - Method in class cambio.simulator.entities.networking.IntermediateDependencyDescription
- applyExtraDelay(NumericalDist<Double>, Operation) - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- architectureModel - Variable in class cambio.simulator.models.MiSimModel
- ArchitectureModel - Class in cambio.simulator.models
-
Class that contains the architectural information provided by the architecture file.
- ArchitectureModel() - Constructor for class cambio.simulator.models.ArchitectureModel
- ArchitectureModelAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Adapter for parsing the architecture model from json into an object.
- ArchitectureModelAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.architecture.ArchitectureModelAdapter
- areDependenciesCompleted() - Method in class cambio.simulator.entities.networking.Request
- ArrivalRateModel - Class in cambio.simulator.entities.generator
-
Represents an iterable arrival rate model that provides.
- ArrivalRateModel() - Constructor for class cambio.simulator.entities.generator.ArrivalRateModel
- AsyncListReportWriter - Class in cambio.simulator.export
-
A
AsyncReportWriter
that writes a list of values to a single column. - AsyncListReportWriter(Path) - Constructor for class cambio.simulator.export.AsyncListReportWriter
- AsyncListReportWriter(Path, String) - Constructor for class cambio.simulator.export.AsyncListReportWriter
- AsyncMultiColumnReportWriter - Class in cambio.simulator.export
-
Writes a list of values to multiple columns, seperated by
MiSimReporters.csvSeperator
. - AsyncMultiColumnReportWriter(Path) - Constructor for class cambio.simulator.export.AsyncMultiColumnReportWriter
- AsyncMultiColumnReportWriter(Path, String...) - Constructor for class cambio.simulator.export.AsyncMultiColumnReportWriter
- AsyncReportWriter<T> - Class in cambio.simulator.export
-
A base class that provides functionalities to asynchronously write data to a file.
- AsyncReportWriter(Path, String[]) - Constructor for class cambio.simulator.export.AsyncReportWriter
-
Creates a new AsyncReportWriter and opens a new output stream to the given file (dataset path).
- AverageDataPointReporter - Class in cambio.simulator.export
-
MultiDataPointReporter that averages all entries for a TimeInstance over a given time bucket.
- AverageDataPointReporter(Model) - Constructor for class cambio.simulator.export.AverageDataPointReporter
-
Constructs a new data point reporter.
- AverageDataPointReporter(Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.AverageDataPointReporter
-
Constructs a new data point reporter.
- AverageDataPointReporter(String, Model) - Constructor for class cambio.simulator.export.AverageDataPointReporter
-
Constructs a new data point reporter.
- AverageDataPointReporter(String, Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.AverageDataPointReporter
-
Constructs a new data point reporter.
B
- BasicPeriodicAutoscalingStrategyProxy - Class in cambio.simulator.entities.patterns
-
An examplary implementation of a
StrategicPeriodicServiceOwnedPattern
with a potentially varyingIAutoscalingPolicy
. - BasicPeriodicAutoscalingStrategyProxy(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.BasicPeriodicAutoscalingStrategyProxy
- BIN_SIZE - Static variable in class cambio.simulator.resources.cpu.BinnedCPUUtilizationTracker
- BinnedCPUUtilizationTracker - Class in cambio.simulator.resources.cpu
-
Represents a CPU utilization tracker that periodically reports the CPU utilization in the recent time based on a bin size.
- bucketingFunction - Variable in class cambio.simulator.export.BucketMultiDataPointReporter
- BucketMultiDataPointReporter - Class in cambio.simulator.export
-
A datapoint reporter that can map collected data points into time buckets based on a
BucketMultiDataPointReporter.bucketingFunction
. - BucketMultiDataPointReporter(Model) - Constructor for class cambio.simulator.export.BucketMultiDataPointReporter
-
Constructs a reporter without bucketing.
- BucketMultiDataPointReporter(Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.BucketMultiDataPointReporter
-
Constructs a reporter that applies bucketing of the added data.
- BucketMultiDataPointReporter(String, Model) - Constructor for class cambio.simulator.export.BucketMultiDataPointReporter
-
Constructs a reporter without bucketing.
- BucketMultiDataPointReporter(String, Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.BucketMultiDataPointReporter
-
Constructs a reporter that applies bucketing of the added data.
- buffer - Variable in class cambio.simulator.export.AsyncReportWriter
C
- cambio.simulator - package cambio.simulator
- cambio.simulator.behavior - package cambio.simulator.behavior
- cambio.simulator.entities - package cambio.simulator.entities
-
This package contains classes that represent entities that interact within the simulated system.
- cambio.simulator.entities.generator - package cambio.simulator.entities.generator
-
Contains user request generator definitions.
- cambio.simulator.entities.microservice - package cambio.simulator.entities.microservice
-
Classes that directly relate to microservices, like operations, instances or instance modification events.
- cambio.simulator.entities.networking - package cambio.simulator.entities.networking
-
Network behavior revolving around request sending, monitoring and receiving.
- cambio.simulator.entities.patterns - package cambio.simulator.entities.patterns
-
Contains implementations of resilience patterns.
- cambio.simulator.events - package cambio.simulator.events
-
This package contains events that are scheduled independently from the current state of the simulated system.
- cambio.simulator.export - package cambio.simulator.export
-
Report collection and data framework.
- cambio.simulator.misc - package cambio.simulator.misc
-
Contains utility and misc classes.
- cambio.simulator.models - package cambio.simulator.models
-
Entry point and classes that contain information of the current simulation.
- cambio.simulator.parsing - package cambio.simulator.parsing
-
Revolves around parsing architecture and experiment data into objects.
- cambio.simulator.parsing.adapter - package cambio.simulator.parsing.adapter
- cambio.simulator.parsing.adapter.architecture - package cambio.simulator.parsing.adapter.architecture
- cambio.simulator.parsing.adapter.experiment - package cambio.simulator.parsing.adapter.experiment
- cambio.simulator.parsing.adapter.scenario - package cambio.simulator.parsing.adapter.scenario
- cambio.simulator.resources - package cambio.simulator.resources
-
Simulation classes that represent resources like CPUs, SSDs or HDDs.
- cambio.simulator.resources.cpu - package cambio.simulator.resources.cpu
-
CPU simulation classes.
- cambio.simulator.resources.cpu.scheduling - package cambio.simulator.resources.cpu.scheduling
-
Classes for scheduling CPU processes.
- cambio.simulator.resources.storage - package cambio.simulator.resources.storage
-
This is a placeholder package for a later implementation of the simulation of storage devices like hard drive disks or solid state drives.
- cancel() - Method in class cambio.simulator.entities.networking.NetworkRequestSendEvent
-
Cancels the send event.
- cancel() - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Cancels the current Burst of this process and reset its progress.
- CANCELED - Enum constant in enum class cambio.simulator.entities.networking.RequestState
- cancelExecutionAtHandler() - Method in class cambio.simulator.entities.networking.Request
-
Use, to cancel this request.
- cancelSending() - Method in class cambio.simulator.entities.networking.Request
-
Cancels the sending process of this request.
- CEIL_FUNCTION - Static variable in class cambio.simulator.export.BucketMultiDataPointReporter
-
Maps the given time to the closest next bigger discrete time unit.
- ChaosMonkeyEvent - Class in cambio.simulator.events
-
A
ChaosMonkeyEvent
is anExternalEvent
that gets scheduled at the beginning of the experiment. - ChaosMonkeyEvent(Model, String, boolean) - Constructor for class cambio.simulator.events.ChaosMonkeyEvent
- ChaosMonkeyEvent(Model, String, boolean, Microservice, int) - Constructor for class cambio.simulator.events.ChaosMonkeyEvent
-
Instantiate a
ChaosMonkeyEvent
. - characteristics() - Method in class cambio.simulator.misc.CollectorImpl
- checkArgumentsAreNotNull(String, TimeInstant, Object) - Method in class cambio.simulator.export.MiSimReporter
- checkIfCanHandle(Request) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Checks whether this Instance can handle the Request.
- CIRCUIT_IS_OPEN - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- CircuitBreaker - Class in cambio.simulator.entities.patterns
-
Manager class of all CircuitBreakers of one Microservice Instance.
- CircuitBreaker(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.CircuitBreaker
- CircuitBreakerState - Enum Class in cambio.simulator.entities.patterns
-
Contains the three possible states of a CircuitBreaker.
- clear() - Static method in class cambio.simulator.EventBus
- clear() - Method in class cambio.simulator.resources.cpu.CPU
-
Forcibly stops all currently running and scheduled processes.
- clear() - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Clears all current processes from the scheduler.
- clear() - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Clears all current processes from the scheduler.
- clear() - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Clears all current processes from the scheduler.
- clear() - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Clears all current processes from the scheduler.
- clear() - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Clears all current processes from the scheduler.
- clear() - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Clears all current processes from the scheduler.
- CLI - Class in cambio.simulator
-
Static class that holds the command line options of the simulator and is able to parse these into a
CommandLine
object for retrieval. - CLI() - Constructor for class cambio.simulator.CLI
- CLIOption - Annotation Interface in cambio.simulator
-
Annotation to mark and configure a CLI option.
- CLOSED - Enum constant in enum class cambio.simulator.entities.patterns.CircuitBreakerState
- closedDependencies - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- CollectorImpl<T,
A, R> - Class in cambio.simulator.misc -
This is a copy of the non-public utility class
java.util.stream.Collector.CollectorImpl
. - CollectorImpl(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, Set<Collector.Characteristics>) - Constructor for class cambio.simulator.misc.CollectorImpl
-
This is a copy of the non-public utility class
java.util.stream.Collector.CollectorImpl
. - CollectorImpl(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Set<Collector.Characteristics>) - Constructor for class cambio.simulator.misc.CollectorImpl
-
This is a copy of the non-public utility class
java.util.stream.Collector.CollectorImpl
. - combiner() - Method in class cambio.simulator.misc.CollectorImpl
- combineToFullyQualifiedName(String, String) - Static method in class cambio.simulator.misc.NameResolver
-
Tries to combine a service name and an operation name into a fully qualified name.
- compareTo(IRequestUpdateListener) - Method in interface cambio.simulator.entities.networking.IRequestUpdateListener
-
Natural ordering is done by
IRequestUpdateListener#getListeningPriority
. - compareTo(CPUProcess) - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Natural sorting is based on left over demand.
- COMPLETED - Enum constant in enum class cambio.simulator.entities.networking.RequestState
- ComputationBurstCompletedEvent - Class in cambio.simulator.resources.cpu
-
Event that represents the completion of a process burst for a specific
CPUProcess
. - ComputationBurstCompletedEvent(Model, String, boolean, CPUProcess, CPU, int) - Constructor for class cambio.simulator.resources.cpu.ComputationBurstCompletedEvent
-
Constructs a new
ComputationBurstCompletedEvent
. - ComputationCompletedEvent - Class in cambio.simulator.resources.cpu
-
Marks the end of the last computation burst of a thread.
- ComputationCompletedEvent(Model, String, boolean) - Constructor for class cambio.simulator.resources.cpu.ComputationCompletedEvent
- config - Variable in class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
- ConfigurableNamedTypeAdapter<T> - Class in cambio.simulator.parsing.adapter
-
This is an Adapter for a configurable and named type.
- ConfigurableNamedTypeAdapter(Class<T>) - Constructor for class cambio.simulator.parsing.adapter.ConfigurableNamedTypeAdapter
- ConfigurableNamedTypeAdapter(Class<T>, Gson) - Constructor for class cambio.simulator.parsing.adapter.ConfigurableNamedTypeAdapter
-
Creates an adapter for a configurable named type.
- ConfigurableNamedTypeAdapter(Class<T>, TypeAdapterFactory) - Constructor for class cambio.simulator.parsing.adapter.ConfigurableNamedTypeAdapter
-
Creates an adapter for a configurable named type.
- CONNECTION_VOLUME_LIMIT_REACHED - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- constant() - Static method in interface cambio.simulator.entities.generator.ScaleFunction
- containsKey(Object) - Static method in class cambio.simulator.misc.RNGStorage
-
Grants the information whether the key is present in storage and the type of the value associated with the given key.
- copyFolderFromResources(String, File) - Static method in class cambio.simulator.misc.FileUtilities
-
Copies a resource directory form the jar to the given destination.
- copyFolderFromResources(String, File, CopyOption) - Static method in class cambio.simulator.misc.FileUtilities
-
Copies a resource directory form the jar to the given destination.
- CountingCircuitBreakerState - Class in cambio.simulator.entities.patterns
-
This class represents an actual CircuitBreaker with the behavior defined by Hystrix.
- cpu - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- CPU - Class in cambio.simulator.resources.cpu
-
Represents a CPU resource.
- CPU(Model, String, boolean, int, int, MicroserviceInstance) - Constructor for class cambio.simulator.resources.cpu.CPU
-
Constructs a new CPU with a default Round-Robin scheduler.
- CPU(Model, String, boolean, int, MicroserviceInstance) - Constructor for class cambio.simulator.resources.cpu.CPU
-
Constructs a new CPU with a default Round-Robin scheduler and a default thread pool size of
CPUImpl.DEFAULT_THREADPOOLSIZE
. - CPU(Model, String, boolean, int, CPUProcessScheduler, MicroserviceInstance) - Constructor for class cambio.simulator.resources.cpu.CPU
-
Constructs a new CPU with a default thread pool size of
CPUImpl.DEFAULT_THREADPOOLSIZE
. - CPU(Model, String, boolean, MicroserviceInstance, int, CPUProcessScheduler, int) - Constructor for class cambio.simulator.resources.cpu.CPU
-
Constructs a new CPU resource instance.
- CPUProcess - Class in cambio.simulator.resources.cpu
-
Data-class that contains information about a currently running (or potentially finished) process.
- CPUProcess(int) - Constructor for class cambio.simulator.resources.cpu.CPUProcess
-
Constructor that can be used to create artificial load onto the system.
- CPUProcess(Request) - Constructor for class cambio.simulator.resources.cpu.CPUProcess
-
Creates a
CPUProcess
for the givenRequest
. - CPUProcessScheduler - Class in cambio.simulator.resources.cpu.scheduling
-
Superclass that provides the interface for all CPU scheduling strategies.
- CPUProcessScheduler(String) - Constructor for class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
- create(Gson, TypeToken<T>) - Method in class cambio.simulator.parsing.adapter.experiment.NameReferenceTypeAdapterFactory
- create(Gson, TypeToken<T>) - Method in class cambio.simulator.parsing.adapter.PathAdapterFactory
- createActivators(ValueListener<?>, MiSimModel) - Static method in class cambio.simulator.behavior.EventBusConnector
-
Subscribe to events of interest.
- createArrivalRateModel() - Method in class cambio.simulator.entities.generator.IntervalLoadGeneratorDescription
- createArrivalRateModel() - Method in class cambio.simulator.entities.generator.LimboLoadGeneratorDescription
- createArrivalRateModel() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
-
Should create an
ArrivalRateModel
to describe when the load generator generates new requests. - CREATED - Enum constant in enum class cambio.simulator.entities.microservice.InstanceState
-
The instance was recently created and its existence is noted.
- createFormatter() - Method in class cambio.simulator.export.AsyncListReportWriter
- createFormatter() - Method in class cambio.simulator.export.AsyncMultiColumnReportWriter
- createFormatter() - Method in class cambio.simulator.export.AsyncReportWriter
- createInstance(Type) - Method in class cambio.simulator.parsing.EntityCreator
- createSimulationExperiment(ExperimentStartupConfig) - Method in class cambio.simulator.ExperimentCreator
-
Creates a new
Experiment
based on the given configuration. - createWriter(Path, String[]) - Method in class cambio.simulator.export.AccumulativeDataPointReporter
- createWriter(Path, String[]) - Method in class cambio.simulator.export.AverageDataPointReporter
- createWriter(Path, String[]) - Method in class cambio.simulator.export.ListCollectingReporter
- createWriter(Path, String[]) - Method in class cambio.simulator.export.MiSimReporter
- createWriter(Path, String[]) - Method in class cambio.simulator.export.MultiDataPointReporter
- createWriter(Path, String[]) - Method in class cambio.simulator.export.SnapshotDataPointReporter
- CSVData - Interface in cambio.simulator.export
-
Provides methods for direct conversion to the csv format.
- csvListSeparator - Static variable in class cambio.simulator.export.MiSimReporters
- csvSeperator - Static variable in class cambio.simulator.export.MiSimReporters
- CURRENT_JSON_OBJECT_NAME_KEY - Static variable in class cambio.simulator.parsing.adapter.experiment.ExperimentModelAdapter
- currentAnswers - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- currentInternalSends - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- currentlyOpenDependencies - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- currentRequestsToHandle - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
D
- datasetPath - Variable in class cambio.simulator.export.AsyncReportWriter
- datasetsPrefix - Variable in class cambio.simulator.export.MiSimReporter
- debugOutputOn() - Method in class cambio.simulator.ExperimentStartupConfig
- DEFAULT_TIME_COLUMN_NAME - Static variable in class cambio.simulator.export.MiSimReporters
- DEFAULT_VALUE_COLUMN_NAME - Static variable in class cambio.simulator.export.MiSimReporters
- DelayInjection - Class in cambio.simulator.events
-
Event that triggers a latency injection.
- DelayInjection(Model, String, boolean) - Constructor for class cambio.simulator.events.DelayInjection
- DelayInjection(Model, String, boolean, double, double, Microservice, Operation, Operation) - Constructor for class cambio.simulator.events.DelayInjection
-
Constructs a new
DelayInjection
. - dependencies - Variable in class cambio.simulator.parsing.adapter.architecture.ArchitectureModelAdapter
-
All (top level) dependencies that have been generated.
- dependencies - Variable in class cambio.simulator.parsing.adapter.architecture.MicroserviceAdapter
- DEPENDENCY_NOT_AVAILABLE - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- DependencyDescription - Interface in cambio.simulator.entities.networking
-
Represents a dependency of an
Operation
to otherOperation
s. - DependencyDescriptionAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Adapter for parsing
DependencyDescription
s from JSON. - DependencyDescriptionAdapter(MiSimModel, String) - Constructor for class cambio.simulator.parsing.adapter.architecture.DependencyDescriptionAdapter
- DependencyGraph - Class in cambio.simulator.export
-
The
DependencyGraph
class is used in order to create the graph that displays the dependencies between the systems' microservice instances. - DependencyGraph(MiSimModel, Collection<Microservice>) - Constructor for class cambio.simulator.export.DependencyGraph
-
Instantiates a
DependencyGraph
. - deregister() - Method in class cambio.simulator.export.MiSimReporter
-
Deregisters this reporter from
MiSimReporters
, which causes it not to be finalized at the end of the simulation. - deregister(MiSimReporter<?>) - Static method in class cambio.simulator.export.MiSimReporters
-
Deregisters a reporter.
- description() - Element in annotation interface cambio.simulator.CLIOption
-
The option description that is displayed from the help menu.
- description() - Method in class cambio.simulator.models.MiSimModel
- detect(String) - Static method in interface cambio.simulator.entities.generator.ScaleFunction
-
Maps a textual type description to the default functions.
- die() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Immediately kills this instance.
- DiscreteDistributionAdapter - Class in cambio.simulator.parsing.adapter
-
TODO:!!!!!! Adapter for parsing distributions from JSON into a
DiscreteDist
. - DiscreteDistributionAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.DiscreteDistributionAdapter
- doInitialSchedules() - Method in class cambio.simulator.models.MiSimModel
- doInitialSelfSchedule() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
- doInitialSelfSchedule() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescriptionExecutor
- doInitialSelfSchedule() - Method in interface cambio.simulator.events.ISelfScheduled
-
Schedule yourself for the simulation.
- doInitialSelfSchedule() - Method in class cambio.simulator.events.SelfScheduledExperimentAction
- doInitialSelfSchedule() - Method in class cambio.simulator.resources.cpu.BinnedCPUUtilizationTracker
- DoubleWriteAdapter - Class in cambio.simulator.parsing.adapter
-
TypeAdapter
to write/read doubles in json. - DoubleWriteAdapter() - Constructor for class cambio.simulator.parsing.adapter.DoubleWriteAdapter
E
- ENDPOINT_DOES_NOT_EXIST - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- endShutdown() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Completes the shutdown and transitions the instance into the
InstanceState.SHUTDOWN
state. - enterProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Enters the process into the scheduling queue.
- enterProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Enters the process into the scheduling queue.
- enterProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Enters the process into the scheduling queue.
- enterProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Enters the process into the scheduling queue.
- enterProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Enters the process into the scheduling queue.
- enterProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Enters the process into the scheduling queue.
- EntityCreator<T> - Class in cambio.simulator.parsing
-
Extention of Gsons'
InstanceCreator
to createEntity
instances of Desmo-J objects. - EvenLoadBalanceStrategy - Class in cambio.simulator.entities.patterns
-
Strategy that balances the amount of requests evenly between instances.
- EvenLoadBalanceStrategy() - Constructor for class cambio.simulator.entities.patterns.EvenLoadBalanceStrategy
- EventBus - Class in cambio.simulator
-
Static class that takes care of enabling subscribing and publishing events.
- EventBus() - Constructor for class cambio.simulator.EventBus
- EventBusConnector - Class in cambio.simulator.behavior
-
Subscribes to specific events on the event bus.
- EventBusConnector() - Constructor for class cambio.simulator.behavior.EventBusConnector
- eventRoutine() - Method in class cambio.simulator.entities.NamedExternalEvent
- eventRoutine(MicroserviceInstance) - Method in class cambio.simulator.entities.microservice.InstanceKillEvent
- eventRoutine(MicroserviceInstance) - Method in class cambio.simulator.entities.microservice.InstanceShutdownEndEvent
- eventRoutine(MicroserviceInstance) - Method in class cambio.simulator.entities.microservice.InstanceShutdownStartEvent
- eventRoutine(MicroserviceInstance) - Method in class cambio.simulator.entities.microservice.InstanceStartupEvent
- eventRoutine(Request) - Method in class cambio.simulator.resources.cpu.ComputationCompletedEvent
- ExperimentAction - Class in cambio.simulator.events
-
Represents an action during an experiment e.g.
- ExperimentAction(Model, String, boolean) - Constructor for class cambio.simulator.events.ExperimentAction
- ExperimentActionAdapter - Class in cambio.simulator.parsing.adapter.experiment
-
Adapter so Gson can parse experiment action descriptions from json into object instances.
- ExperimentActionAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.experiment.ExperimentActionAdapter
- ExperimentCreator - Class in cambio.simulator
-
Class that contains code for creating a new
Experiment
based on aExperimentStartupConfig
. - ExperimentCreator() - Constructor for class cambio.simulator.ExperimentCreator
- experimentMetaData - Variable in class cambio.simulator.models.MiSimModel
- ExperimentMetaData - Class in cambio.simulator.models
-
Class that contains the architectural information provided by the architecture file.
- ExperimentMetaData() - Constructor for class cambio.simulator.models.ExperimentMetaData
- ExperimentMetaDataAdapter - Class in cambio.simulator.parsing.adapter.experiment
-
Adapter for parsing the metadata within an experiment description into a
ExperimentMetaData
object. - ExperimentMetaDataAdapter(File, File) - Constructor for class cambio.simulator.parsing.adapter.experiment.ExperimentMetaDataAdapter
- experimentModel - Variable in class cambio.simulator.models.MiSimModel
- ExperimentModel - Class in cambio.simulator.models
-
Represents the experiment model.
- ExperimentModel(Collection<LoadGeneratorDescriptionExecutor>, Collection<ExperimentAction>) - Constructor for class cambio.simulator.models.ExperimentModel
-
Creates a new experiment model based on the given the collections of
LoadGeneratorDescriptionExecutor
s andExperimentAction
s. - ExperimentModelAdapter - Class in cambio.simulator.parsing.adapter.experiment
-
Adapter for parsing a json input into the experiment model.
- ExperimentModelAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.experiment.ExperimentModelAdapter
- ExperimentStartupConfig - Class in cambio.simulator
-
Configuration that controls how an experiment is started.
- ExperimentStartupConfig(String, String, String, String, String, boolean, boolean, boolean, String) - Constructor for class cambio.simulator.ExperimentStartupConfig
-
Creates a new
ExperimentStartupConfig
. - exponential() - Static method in interface cambio.simulator.entities.generator.ScaleFunction
- ExponentialBackoffRetryStrategy - Class in cambio.simulator.entities.patterns
-
Represents an exponential retry backoff strategy.
- ExponentialBackoffRetryStrategy() - Constructor for class cambio.simulator.entities.patterns.ExponentialBackoffRetryStrategy
- ExportUtils - Class in cambio.simulator.export
-
Utility functions for creating the experiment report.
- ExportUtils() - Constructor for class cambio.simulator.export.ExportUtils
F
- FIFOScheduler - Class in cambio.simulator.resources.cpu.scheduling
-
First in first out scheduler.
- FIFOScheduler(String) - Constructor for class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
- FileAdapter - Class in cambio.simulator.parsing.adapter
-
Gson
TypeAdapter
for theFile
type. - FileAdapter() - Constructor for class cambio.simulator.parsing.adapter.FileAdapter
- FileUtilities - Class in cambio.simulator.misc
-
Utility class for checking file existence.
- FileUtilities() - Constructor for class cambio.simulator.misc.FileUtilities
- finalizeReport() - Method in class cambio.simulator.export.AccumulativeDataPointReporter
- finalizeReport() - Method in class cambio.simulator.export.AverageDataPointReporter
- finalizeReport() - Method in class cambio.simulator.export.MiSimReporter
-
Finalizes the report.
- finalizeReport() - Method in class cambio.simulator.export.SnapshotDataPointReporter
- finalizeReports() - Static method in class cambio.simulator.export.MiSimReporters
-
Finalizes all registered reporters.
- finalizeStatistics() - Method in class cambio.simulator.entities.microservice.Microservice
- finalizeWriteout() - Method in class cambio.simulator.export.AsyncReportWriter
-
Finalizes the writeout.
- finalizingTodos() - Method in class cambio.simulator.export.AsyncListReportWriter
- finalizingTodos() - Method in class cambio.simulator.export.AsyncReportWriter
-
This method is called before the final flush to disk and offers the possibility to add some finalizing information to the buffer.
- finisher() - Method in class cambio.simulator.misc.CollectorImpl
- flush() - Method in class cambio.simulator.export.AccumulativeDataPointReporter
-
Writes all accumulated data-points to disk.
- flush() - Method in class cambio.simulator.export.AverageDataPointReporter
-
Writes all accumulated data-points to disk.
- flush() - Method in class cambio.simulator.export.SnapshotDataPointReporter
-
Writes all accumulated data-points to disk.
- flush(String) - Method in class cambio.simulator.export.AccumulativeDataPointReporter
-
Writes the given dataset to disk.
- flush(String) - Method in class cambio.simulator.export.AverageDataPointReporter
-
Writes the given dataset to disk.
- flush(String) - Method in class cambio.simulator.export.SnapshotDataPointReporter
-
Writes the given dataset to disk.
- flush(String, double) - Method in class cambio.simulator.export.AverageDataPointReporter
-
Writes the given TimeInstant (timestamp) of a specific dataset to disk.
- flush(String, TimeInstant) - Method in class cambio.simulator.export.AccumulativeDataPointReporter
-
Writes the given TimeInstant (timestamp) of a specific dataset to disk.
- forEachRemaining(Consumer<? super Long>) - Method in class cambio.simulator.entities.generator.ArrivalRateModel
-
Unsupported Operation.
- fromScheduleEntities(MiSimModel, Collection<ISelfScheduled>) - Static method in class cambio.simulator.models.ExperimentModel
-
Creates a new Experiment model based on the given set of ISelfScheduled objects.
- fromTimeInstant(TimeInstant) - Static method in class cambio.simulator.misc.TimeUtil
G
- generateDependenciesForExecutions(Request, Random) - Method in class cambio.simulator.entities.networking.AlternativeDependencyDescription
- generateDependenciesForExecutions(Request, Random) - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
Evaluates dependency and its descendants to generate a concrete order of dependency executions.
- generateDependenciesForExecutions(Request, Random) - Method in class cambio.simulator.entities.networking.LoopDependencyDescription
- generateDependenciesForExecutions(Request, Random) - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- generateReportPath(ExperimentStartupConfig, ExperimentMetaData) - Static method in class cambio.simulator.export.ExportUtils
-
Generates the path to the report directory of the current experiment.
- GENERATOR_REPORTER - Static variable in class cambio.simulator.export.MiSimReporters
- get(Object, Supplier<T>) - Static method in class cambio.simulator.misc.RNGStorage
-
Returns the value associated with the given key.
- getAllFields(Class<?>) - Static method in class cambio.simulator.misc.Util
-
Gets the declared fields of this class and all of its Superclasses.
- getAllObjectsOfType(Class<T>) - Method in class cambio.simulator.models.ExperimentModel
-
Deprecated.
- getAllSelfSchedulesEntities() - Method in class cambio.simulator.models.ExperimentModel
-
Collects all self scheduling entities from the experiment, so they can be scheduled during the initial scheduling of the model.
- getAllTargetOperations() - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
Return all target operations of the leaf descendants.
- getAllTargetOperations() - Method in class cambio.simulator.entities.networking.IntermediateDependencyDescription
- getAllTargetOperations() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- getAlternativeProbability() - Method in class cambio.simulator.entities.networking.AbstractDependencyDescription
- getAlternativeProbability() - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
The probability of selecting this dependency for execution when being the child of an
AlternativeDependencyDescription
. - getAnswerSender() - Method in class cambio.simulator.entities.networking.RequestAnswer
- getArchitectureDescLoc() - Method in class cambio.simulator.ExperimentStartupConfig
- getArchitectureDescriptionLocation() - Method in class cambio.simulator.models.ExperimentMetaData
- getArchitectureModel() - Method in class cambio.simulator.models.MiSimModel
- getArchitectureModelLocation() - Method in class cambio.simulator.models.MiSimModel
- getAverageRelativeUtilization() - Method in class cambio.simulator.entities.microservice.Microservice
- getAverageUtilization() - Method in class cambio.simulator.entities.microservice.Microservice
- getCapacity() - Method in class cambio.simulator.entities.microservice.Microservice
- getChildren() - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
Gets all subordinate dependencies.
- getChildren() - Method in class cambio.simulator.entities.networking.IntermediateDependencyDescription
- getChildren() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- getChildRequest() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- getComputeTime() - Method in class cambio.simulator.entities.networking.Request
- getConfigAsJsonString() - Method in class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
-
Converts the nested configuration data into a JSON-string using Gson.
- getCounterSendEvents() - Static method in class cambio.simulator.entities.networking.NetworkRequestSendEvent
- getCpu() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- getCreator(Model, String, Class<I>) - Static method in class cambio.simulator.parsing.EntityCreator
-
Creates a new
EntityCreator
that will create an object of typeI
, ifI
has a constructor that matches(Model.class, String.class, boolean.class)
arguments. - getCurrentRelativeWorkDemand() - Method in class cambio.simulator.resources.cpu.CPU
-
Calculates the relative remaining workload demand of this CPU.
- getCurrentStatistics() - Method in class cambio.simulator.entities.patterns.CountingCircuitBreakerState
- getCurrentStatistics() - Method in interface cambio.simulator.entities.patterns.ICircuitBreakerState
- getCurrentStatistics() - Method in class cambio.simulator.entities.patterns.TimingWindowCircuitBreakerState
- getCurrentUsage() - Method in class cambio.simulator.resources.cpu.CPU
- getData() - Method in class cambio.simulator.events.HookEvent
- getDemand() - Method in class cambio.simulator.entities.microservice.Operation
- getDemandRemainder() - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Gets the remaining demand from before the start of the latest burst.
- getDemandRemainder(TimeInstant, double) - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Calculates the time/work left for the current burst of this processes at the specific point int time.
- getDemandTotal() - Method in class cambio.simulator.resources.cpu.CPUProcess
- getDependencies() - Method in class cambio.simulator.entities.networking.Request
- getDependency() - Method in class cambio.simulator.entities.networking.InternalRequest
- getDependencyDescriptions() - Method in class cambio.simulator.entities.microservice.Operation
- getDependencyWaitTime() - Method in class cambio.simulator.entities.networking.Request
- getDescription() - Method in class cambio.simulator.models.ExperimentMetaData
- getDuration() - Method in class cambio.simulator.entities.generator.ArrivalRateModel
- getDuration() - Method in class cambio.simulator.models.ExperimentMetaData
- getExecutionDuration() - Method in class cambio.simulator.models.ExperimentMetaData
- getExperimentDescLoc() - Method in class cambio.simulator.ExperimentStartupConfig
- getExperimentDescriptionLocation() - Method in class cambio.simulator.models.ExperimentMetaData
- getExperimentExecutionDuration() - Method in class cambio.simulator.models.ExperimentMetaData
- getExperimentMetaData() - Method in class cambio.simulator.models.MiSimModel
- getExperimentModel() - Method in class cambio.simulator.models.MiSimModel
- getExperimentModelOrScenarioLocation() - Method in class cambio.simulator.models.MiSimModel
- getExperimentName() - Method in class cambio.simulator.models.ExperimentMetaData
- getFlushPeriodMs() - Static method in class cambio.simulator.export.AsyncReportWriter
- getFullyQualifiedName() - Method in class cambio.simulator.entities.microservice.Operation
- getFullyQualifiedPlainName() - Method in class cambio.simulator.entities.microservice.Operation
- getGson() - Static method in class cambio.simulator.parsing.GsonHelper
-
Creates a new default Gson object for parsing JSON that supports
File
,TimeInstant
andTimeSpan
adaption. - getGsonBuilder() - Static method in class cambio.simulator.parsing.GsonHelper
-
Creates a
GsonBuilder
that should contain all common adapters, such as aFileAdapter
andTimeInstantAdapter
. - getHandler() - Method in class cambio.simulator.entities.networking.Request
- getInitialArrivalTime() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
-
Returns the initial arrival time of the load generator, alias the "start" to which the arrival rate profile is shifted to.
- getInitialArrivalTime() - Method in class cambio.simulator.events.ExperimentAction
- getInstanceID() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- getInstancesCount() - Method in class cambio.simulator.entities.microservice.Microservice
- getInstancesSet() - Method in class cambio.simulator.entities.microservice.Microservice
- getInterval() - Method in class cambio.simulator.entities.generator.IntervalLoadGeneratorDescription
- getLastChosenInstance() - Method in class cambio.simulator.entities.patterns.LoadBalancer
- getLeafDescendants() - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
Gets all subordinate dependencies that are leafs in the hierarchy.
- getLeafDescendants() - Method in class cambio.simulator.entities.networking.IntermediateDependencyDescription
- getLeafDescendants() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- getListeningPriority() - Method in interface cambio.simulator.entities.networking.IRequestUpdateListener
-
Gets the priority of this listener.
- getListeningPriority() - Method in class cambio.simulator.entities.networking.NetworkRequestTimeoutEvent
- getListeningPriority() - Method in class cambio.simulator.entities.patterns.CircuitBreaker
- getListeningPriority() - Method in class cambio.simulator.entities.patterns.Retry
- getLoadBalancer() - Method in class cambio.simulator.entities.microservice.Microservice
- getLoadBalancingStrategy() - Method in class cambio.simulator.entities.patterns.LoadBalancer
- getLoadGeneratorDescription() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescriptionExecutor
- getMicroservices() - Method in class cambio.simulator.models.ArchitectureModel
-
Gets all available microservices.
- getModelName() - Method in class cambio.simulator.models.ExperimentMetaData
- getName() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
- getNextAvailableInstance() - Method in class cambio.simulator.entities.microservice.Microservice
-
Uses the loadbalancer of this microservice to find the next suitable target instance.
- getNextCustomDelay() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- getNextCustomDelay() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Gets the custom delay assigned to this dependency.
- getNextDelay(int) - Method in class cambio.simulator.entities.patterns.ExponentialBackoffRetryStrategy
- getNextDelay(int) - Method in interface cambio.simulator.entities.patterns.IRetryStrategy
- getNextDelay(int) - Method in class cambio.simulator.entities.patterns.JitteringExponentialBackoffRetryStrategy
- getNextDelay(int) - Method in class cambio.simulator.entities.patterns.JitteringLinearBackoffRetryStrategy
- getNextDelay(int) - Method in class cambio.simulator.entities.patterns.LinearBackoffRetryStrategy
- getNextExtraDelay() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- getNextExtraDelay() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Gets the extra delay assigned to this dependency.
- getNextInstance(Collection<MicroserviceInstance>) - Method in class cambio.simulator.entities.patterns.EvenLoadBalanceStrategy
-
Returns the Microservice Instance the handeled the least amount of requests since the last scaling operation.
- getNextInstance(Collection<MicroserviceInstance>) - Method in interface cambio.simulator.entities.patterns.ILoadBalancingStrategy
-
Searches through the list of available instances to find the most suitable to receive the next request.
- getNextInstance(Collection<MicroserviceInstance>) - Method in class cambio.simulator.entities.patterns.LoadBalancer
-
Retrieves the next candidate for receiving a request, consulting its
ILoadBalancingStrategy
. - getNextInstance(Collection<MicroserviceInstance>) - Method in class cambio.simulator.entities.patterns.QuickRoundRobinLoadbalancer
-
Searches through the list of available instances to find the most suitable to receive the next request.
- getNextInstance(Collection<MicroserviceInstance>) - Method in class cambio.simulator.entities.patterns.RandomLoadBalanceStrategy
-
Returns a random Microservice Instance of given Collection.
- getNextInstance(Collection<MicroserviceInstance>) - Method in class cambio.simulator.entities.patterns.RoundRobinLoadbalancer
-
Searches through the list of available instances to find the most suitable to receive the next request.
- getNextInstance(Collection<MicroserviceInstance>) - Method in class cambio.simulator.entities.patterns.UtilizationBalanceStrategy
-
Returns the instance of the given list, which currently has the lowest demand left.
- getNextTimeInstant() - Method in class cambio.simulator.entities.generator.ArrivalRateModel
-
Generates the next target time instance as long (in epsilon time units).
- getNextTimeInstant(TimeInstant) - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
-
Grabs the next target time for when a new request should be sent.
- getOperationByName(String) - Method in class cambio.simulator.entities.microservice.Microservice
-
Searches an
Operation
that has the name that is given as an argument. - getOperations() - Method in class cambio.simulator.entities.microservice.Microservice
- getOwner() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- getOwnerMS() - Method in class cambio.simulator.entities.microservice.Operation
- getParent() - Method in class cambio.simulator.entities.networking.Request
- getParentRequest() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- getPatternInstance(MicroserviceInstance) - Method in class cambio.simulator.entities.patterns.InstanceOwnedPatternConfiguration
-
Parses this configuration into a pattern instance.
- getPatternInstance(Model, String, TypeNameAssociatedConfigurationData, Class<T>) - Static method in class cambio.simulator.parsing.PatternConfigurationParser
-
Resolves a
TypeNameAssociatedConfigurationData
into a pattern instance. - getPatterns() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- getPlainName() - Method in class cambio.simulator.entities.NamedEntity
- getPlainName() - Method in class cambio.simulator.entities.NamedExternalEvent
- getPlainName() - Method in class cambio.simulator.entities.NamedSimProcess
- getProbability() - Method in class cambio.simulator.entities.networking.AbstractDependencyDescription
- getProbability() - Method in interface cambio.simulator.entities.networking.DependencyDescription
-
The probability of executing this dependency.
- getQuotedFullyQualifiedName() - Method in class cambio.simulator.entities.microservice.Operation
- getQuotedName() - Method in class cambio.simulator.entities.microservice.Microservice
- getQuotedName() - Method in class cambio.simulator.entities.microservice.Operation
- getQuotedName() - Method in class cambio.simulator.entities.NamedEntity
-
Gets a quoted version of the name of this object.
- getQuotedName() - Method in class cambio.simulator.entities.NamedExternalEvent
-
Gets a quoted version of the name of this object.
- getQuotedName() - Method in class cambio.simulator.entities.NamedSimProcess
-
Gets a quoted version of the name of this object.
- getQuotedPlainName() - Method in class cambio.simulator.entities.NamedEntity
-
Gets a quoted version of the plain name of this object.
- getQuotedPlainName() - Method in class cambio.simulator.entities.NamedExternalEvent
-
Gets a quoted version of the plain name of this object.
- getQuotedPlainName() - Method in class cambio.simulator.entities.NamedSimProcess
-
Gets a quoted version of the plain name of this object.
- getRelatedDependency(Request) - Method in class cambio.simulator.entities.networking.Request
-
Gets the
ServiceDependencyInstance
that should be completed by the given request. - getRelativeUtilizationOfInstances() - Method in class cambio.simulator.entities.microservice.Microservice
- getRelativeWorkDemand() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Gets the relative work demand.
- getReportBaseDirectory() - Method in class cambio.simulator.models.ExperimentMetaData
- getReporters() - Static method in class cambio.simulator.export.MiSimReporters
-
Gets an immutable collection of all registered reporters.#
- getReportLocation() - Method in class cambio.simulator.ExperimentStartupConfig
- getReportLocation() - Method in class cambio.simulator.models.ExperimentMetaData
- getReportType() - Method in class cambio.simulator.models.ExperimentMetaData
- getRequest() - Method in class cambio.simulator.resources.cpu.CPUProcess
- getRequester() - Method in class cambio.simulator.entities.networking.Request
- getResponseTime() - Method in class cambio.simulator.entities.networking.Request
-
Calculates the response time of this request.
- getScaleFunction() - Method in class cambio.simulator.entities.generator.ScaleFactor
- getScenario() - Method in class cambio.simulator.ExperimentStartupConfig
- getScheduler() - Method in interface cambio.simulator.entities.patterns.IPeriodicPattern
- getScheduler() - Method in class cambio.simulator.entities.patterns.PeriodicServiceOwnedPattern
- getScheduler() - Method in class cambio.simulator.entities.patterns.StrategicPeriodicServiceOwnedPattern
- getSeed() - Method in class cambio.simulator.models.ExperimentMetaData
- getSetupExecutionDuration() - Method in class cambio.simulator.models.ExperimentMetaData
- getStartingInstanceCount() - Method in class cambio.simulator.entities.microservice.Microservice
- getStartTimestamp() - Method in class cambio.simulator.models.ExperimentMetaData
- getState() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Gets the state of the instance.
- getState() - Method in class cambio.simulator.entities.patterns.CountingCircuitBreakerState
- getState() - Method in interface cambio.simulator.entities.patterns.ICircuitBreakerState
- getState() - Method in class cambio.simulator.entities.patterns.TimingWindowCircuitBreakerState
- getStrategy() - Method in interface cambio.simulator.entities.patterns.IStrategyAcceptor
- getStrategy() - Method in class cambio.simulator.entities.patterns.StrategicInstanceOwnedPattern
- getStrategy() - Method in class cambio.simulator.entities.patterns.StrategicServiceOwnedPattern
- getStrategyConfigurationAsJsonString() - Method in class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
-
Converts the nested strategy configuration data into a JSON-string using Gson.
- getTargetMicroservice() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- getTargetOp() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- getTargetOperation() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
- getTargetOperation() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- getTargetService() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- getTargetService() - Method in class cambio.simulator.events.ChaosMonkeyEvent
- getThreadPoolSize() - Static method in class cambio.simulator.export.AsyncReportWriter
- getTimestampReceived() - Method in class cambio.simulator.entities.networking.Request
- getTimestampSend() - Method in class cambio.simulator.entities.networking.Request
- getTimeUnit() - Method in class cambio.simulator.models.ExperimentMetaData
- getTotalWorkDemand() - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Calculates the sum of all scheduled process's demand remainders.
- getTotalWorkDemand() - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Calculates the sum of all scheduled process's demand remainders.
- getTotalWorkDemand() - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Calculates the sum of all scheduled process's demand remainders.
- getTotalWorkDemand() - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Calculates the sum of all scheduled process's demand remainders.
- getTotalWorkDemand() - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Calculates the sum of all scheduled process's demand remainders.
- getTotalWorkDemand() - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Calculates the sum of all scheduled process's demand remainders.
- getTravelingRequest() - Method in class cambio.simulator.entities.networking.NetworkRequestEvent
- getUpdateListeners() - Method in class cambio.simulator.entities.networking.Request
- getUsage() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Gets the current usage of the instance.
- getUtilizationOfInstances() - Method in class cambio.simulator.entities.microservice.Microservice
- getValue() - Method in class cambio.simulator.events.HookEvent
- getValue(long) - Method in class cambio.simulator.entities.generator.ScaleFactor
-
Returns the scaling factor for a given point in time.
- getWriter(String) - Method in class cambio.simulator.export.MiSimReporter
- GsonHelper - Class in cambio.simulator.parsing
-
Utility class to create a Gson with a default set of
TypeAdapter
s. - GsonHelper() - Constructor for class cambio.simulator.parsing.GsonHelper
H
- HALF_OPEN - Enum constant in enum class cambio.simulator.entities.patterns.CircuitBreakerState
- HalfOpenBreakerEvent - Class in cambio.simulator.entities.patterns
-
Event that represents the half-closing of a circuit breaker.
- HalfOpenBreakerEvent(Model, String, boolean, ICircuitBreakerState) - Constructor for class cambio.simulator.entities.patterns.HalfOpenBreakerEvent
-
Constructs a new
HalfOpenBreakerEvent
. - handle(Request) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Submits a
Request
at this instance for handling. - handleIncomingRequest(Request) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- handleRequestAnswer(RequestAnswer) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- HANDLING_INSTANCE_DIED - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- hasArg() - Element in annotation interface cambio.simulator.CLIOption
-
Defines whether the CLI option has an argument.
- hasCustomDelay() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- hasCustomDelay() - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Gets whether this dependency has a custom delay.
- hasParent() - Method in class cambio.simulator.entities.networking.Request
- hasProcessesToSchedule() - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Checks whether this scheduler currently has processes ready to be retrieved from scheduling.
- hasProcessesToSchedule() - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Checks whether this scheduler currently has processes ready to be retrieved from scheduling.
- hasProcessesToSchedule() - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Checks whether this scheduler currently has processes ready to be retrieved from scheduling.
- hasProcessesToSchedule() - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Checks whether this scheduler currently has processes ready to be retrieved from scheduling.
- hasProcessesToSchedule() - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Checks whether this scheduler currently has processes ready to be retrieved from scheduling.
- hasProcessesToSchedule() - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Checks whether this scheduler currently has processes ready to be retrieved from scheduling.
- hasStarted - Variable in class cambio.simulator.export.AsyncListReportWriter
- hasStrategyConfiguration() - Method in class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
-
Checks whether there is a nested strategy configuration.
- HIGH - Static variable in class cambio.simulator.misc.Priority
- HookEvent - Class in cambio.simulator.events
-
An event without any direct effect on the simulation.
- HookEvent(Model, HookEventData, boolean, boolean) - Constructor for class cambio.simulator.events.HookEvent
-
Creates a new hook event.
I
- IAutoscalingPolicy - Interface in cambio.simulator.entities.patterns
-
Interface for auto scaling policies.
- ICircuitBreakerState - Interface in cambio.simulator.entities.patterns
-
Interface for classes that represent the State of a Circuit Breaker.
- IDENTITY_FUNCTION - Static variable in class cambio.simulator.export.BucketMultiDataPointReporter
- ILoadBalancingStrategy - Interface in cambio.simulator.entities.patterns
-
Interface for a load balancing strategy.
- IMMEDIATELY_ON_TARGETED_TIME - Static variable in class cambio.simulator.misc.Priority
- init() - Method in class cambio.simulator.models.MiSimModel
- initialArrivalTime - Variable in class cambio.simulator.entities.generator.LoadGeneratorDescription
- initialArrivalTime - Variable in class cambio.simulator.events.ExperimentAction
- initializeArrivalRateModel() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
-
Tries to initialize the underlying
ArrivalRateModel
. - initializeStaticReporters(MiSimModel) - Static method in class cambio.simulator.export.MiSimReporters
-
Initializes the static reporters that are shared between entities.
- injectField(String, Object, Object) - Static method in class cambio.simulator.misc.Util
-
Tries to inject a value into the field of an object via reflection.
- injectOwnerProperty(Object, Object) - Static method in class cambio.simulator.parsing.PatternConfigurationParser
-
Tries to inject the owner object in the 'owner' field of the child object.
- instanceID - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- InstanceKillEvent - Class in cambio.simulator.entities.microservice
-
For now this is an unused event that represents the killing of an instance.
- InstanceKillEvent(Model, String, boolean) - Constructor for class cambio.simulator.entities.microservice.InstanceKillEvent
- InstanceOwnedPattern - Class in cambio.simulator.entities.patterns
-
Represents a resilience pattern that is owned by a
MicroserviceInstance
. - InstanceOwnedPattern(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.InstanceOwnedPattern
- InstanceOwnedPatternConfigAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Adapter for parsing pattern configurations written in json into
InstanceOwnedPatternConfiguration
s. - InstanceOwnedPatternConfigAdapter() - Constructor for class cambio.simulator.parsing.adapter.architecture.InstanceOwnedPatternConfigAdapter
- InstanceOwnedPatternConfiguration - Class in cambio.simulator.entities.patterns
-
Can store the configuration of an
InstanceOwnedPattern
. - InstanceOwnedPatternConfiguration(String, Map<String, Object>) - Constructor for class cambio.simulator.entities.patterns.InstanceOwnedPatternConfiguration
- InstanceOwnedPatternConfiguration(String, Map<String, Object>, TypeNameAssociatedConfigurationData) - Constructor for class cambio.simulator.entities.patterns.InstanceOwnedPatternConfiguration
- instanceOwnedPatternConfigurations - Variable in class cambio.simulator.entities.microservice.Microservice
- InstanceShutdownEndEvent - Class in cambio.simulator.entities.microservice
-
Represents the end of the shutdown process of an instance.
- InstanceShutdownEndEvent(Model, String, boolean) - Constructor for class cambio.simulator.entities.microservice.InstanceShutdownEndEvent
- InstanceShutdownStartEvent - Class in cambio.simulator.entities.microservice
-
Triggers the instance to stats its shutdown process.
- InstanceShutdownStartEvent(Model, String, boolean) - Constructor for class cambio.simulator.entities.microservice.InstanceShutdownStartEvent
- instanceSpawnCounter - Variable in class cambio.simulator.entities.microservice.Microservice
- instancesSet - Variable in class cambio.simulator.entities.microservice.Microservice
- InstanceStartupEvent - Class in cambio.simulator.entities.microservice
-
Triggers the startup procedure for a
MicroserviceInstance
. - InstanceStartupEvent(Model, String, boolean) - Constructor for class cambio.simulator.entities.microservice.InstanceStartupEvent
- InstanceState - Enum Class in cambio.simulator.entities.microservice
-
Represents the possible states of a
MicroserviceInstance
. - IntermediateDependencyDescription - Class in cambio.simulator.entities.networking
-
These dependencies act (only) as intermediate dependencies inside a hierarchy of
DependencyDescription
. - IntermediateDependencyDescription(Model, double, double) - Constructor for class cambio.simulator.entities.networking.IntermediateDependencyDescription
-
Creates a new intermediate dependency.
- IntermediateDependencyDescription(Model, double, double, DependencyDescription[]) - Constructor for class cambio.simulator.entities.networking.IntermediateDependencyDescription
-
Creates a new intermediate dependency.
- InternalRequest - Class in cambio.simulator.entities.networking
-
Represents a
Request
between twoMicroserviceInstance
s. - InternalRequest(Model, boolean, ServiceDependencyInstance, MicroserviceInstance) - Constructor for class cambio.simulator.entities.networking.InternalRequest
-
Constructs a new Internal Request.
- IntervalLoadGeneratorDescription - Class in cambio.simulator.entities.generator
-
Adds properties to a
LoadGeneratorDescription
for describing an interval-based load generator. - IntervalLoadGeneratorDescription() - Constructor for class cambio.simulator.entities.generator.IntervalLoadGeneratorDescription
- IPatternLifeCycleHooks - Interface in cambio.simulator.entities.patterns
-
Represents all pattern lifecycle hooks.
- IPeriodicPattern - Interface in cambio.simulator.entities.patterns
-
Marks a periodically appearing service owned pattern.
- IRequestUpdateListener - Interface in cambio.simulator.entities.networking
-
Interface for listening for request updates.
- IRetryStrategy - Interface in cambio.simulator.entities.patterns
-
Interface that represnts a strategy of a
Retry
. - isCompleted() - Method in class cambio.simulator.entities.networking.Request
- isCompleted() - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
- isComputationCompleted() - Method in class cambio.simulator.entities.networking.Request
- isDependenciesCompleted() - Method in class cambio.simulator.entities.networking.Request
- ISelfScheduled - Interface in cambio.simulator.events
-
Events of an experiment that extend this interface are asked to self schedule on the start of the simulation.
- isExecuted(Random) - Method in class cambio.simulator.entities.networking.AbstractDependencyDescription
-
Determines whether this dependency gets executed based on the
AbstractDependencyDescription.probability
. - isOpen() - Method in class cambio.simulator.entities.patterns.CountingCircuitBreakerState
- isOpen() - Method in interface cambio.simulator.entities.patterns.ICircuitBreakerState
- isOpen() - Method in class cambio.simulator.entities.patterns.TimingWindowCircuitBreakerState
- isOverwriteReportPath() - Method in class cambio.simulator.ExperimentStartupConfig
- IStrategy - Interface in cambio.simulator.entities.patterns
-
Non-Functional interface to mark classes as Strategies for parsing.
- IStrategyAcceptor<S extends IStrategy> - Interface in cambio.simulator.entities.patterns
-
Interface to mark classes as acceptors of an
IStrategy
.
J
- JAR_SEPARATOR - Static variable in class cambio.simulator.misc.FileUtilities
- JitteringExponentialBackoffRetryStrategy - Class in cambio.simulator.entities.patterns
-
Represents a jittering exponential retry backoff strategy.
- JitteringExponentialBackoffRetryStrategy() - Constructor for class cambio.simulator.entities.patterns.JitteringExponentialBackoffRetryStrategy
- JitteringLinearBackoffRetryStrategy - Class in cambio.simulator.entities.patterns
-
Represents a jittering linear retry backoff strategy.
- JitteringLinearBackoffRetryStrategy() - Constructor for class cambio.simulator.entities.patterns.JitteringLinearBackoffRetryStrategy
- JsonTypeName - Annotation Interface in cambio.simulator.parsing
-
Annotation to give a type name to class that represents it in a MiSim architecture or experiment description.
- JsonTypeNameResolver - Class in cambio.simulator.parsing
-
Utility class for resloving
JsonTypeName
s into actual types using Reflection. - JsonTypeNameResolver() - Constructor for class cambio.simulator.parsing.JsonTypeNameResolver
K
- KILLED - Enum constant in enum class cambio.simulator.entities.microservice.InstanceState
-
The instance was forcibly shut down and is locked in that state.
- killInstance() - Method in class cambio.simulator.entities.microservice.Microservice
-
Kills a random instance.
- killInstances(int) - Method in class cambio.simulator.entities.microservice.Microservice
-
Kills the given number of services many random instances.
L
- lastTimeInstant - Variable in class cambio.simulator.entities.generator.ArrivalRateModel
- lifeCycle() - Method in class cambio.simulator.entities.NamedSimProcess
- lifeCycle() - Method in class cambio.simulator.entities.patterns.PeriodicPatternScheduler
- lifeCycle() - Method in class cambio.simulator.resources.cpu.BinnedCPUUtilizationTracker
- LIFOScheduler - Class in cambio.simulator.resources.cpu.scheduling
-
Last in first out scheduler.
- LIFOScheduler(String) - Constructor for class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
- LimboLoadGeneratorDescription - Class in cambio.simulator.entities.generator
-
Adds properties to a
LoadGeneratorDescription
for describing a limbo load model-based load generator. - LimboLoadGeneratorDescription() - Constructor for class cambio.simulator.entities.generator.LimboLoadGeneratorDescription
- linear() - Static method in interface cambio.simulator.entities.generator.ScaleFunction
- LinearBackoffRetryStrategy - Class in cambio.simulator.entities.patterns
-
Represents a linear retry backoff strategy.
- LinearBackoffRetryStrategy() - Constructor for class cambio.simulator.entities.patterns.LinearBackoffRetryStrategy
- ListCollectingReporter - Class in cambio.simulator.export
-
A
MiSimReporter
that collects uses anAsyncListReportWriter
to collect data points. - ListCollectingReporter(Model) - Constructor for class cambio.simulator.export.ListCollectingReporter
- ListCollectingReporter(String, Model) - Constructor for class cambio.simulator.export.ListCollectingReporter
- loadArchitectureModel(MiSimModel) - Static method in class cambio.simulator.parsing.ModelLoader
-
Parses the given information into a new
ArchitectureModel
object. - LoadBalancer - Class in cambio.simulator.entities.patterns
-
Wrapper Class for
ILoadBalancingStrategy
to encapsulate common behavior around it. - LoadBalancer(Model, String, boolean, ILoadBalancingStrategy) - Constructor for class cambio.simulator.entities.patterns.LoadBalancer
-
Creates a new instance of a loadbalancer that will use the given strategy.
- LoadBalancerAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Wrapper class around a
StrategyWrapperTypeAdapter
for creating newLoadBalancer
objects. - LoadBalancerAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.architecture.LoadBalancerAdapter
-
Constructs a new Adapter for Creating a
LoadBalancer
from aILoadBalancingStrategy
. - loadExperimentMetaData(File, File) - Static method in class cambio.simulator.parsing.ModelLoader
-
Parses the given information into a new
ExperimentMetaData
object. - loadExperimentModel(MiSimModel) - Static method in class cambio.simulator.parsing.ModelLoader
-
Parses the given information into a new
ExperimentModel
object. - LoadGeneratorDescription - Class in cambio.simulator.entities.generator
-
This class represents the description of a load generator.
- LoadGeneratorDescription() - Constructor for class cambio.simulator.entities.generator.LoadGeneratorDescription
- LoadGeneratorDescriptionExecutor - Class in cambio.simulator.entities.generator
-
Class that can execute a
LoadGeneratorDescription
. - LoadGeneratorDescriptionExecutor(Model, LoadGeneratorDescription) - Constructor for class cambio.simulator.entities.generator.LoadGeneratorDescriptionExecutor
-
Creates a new
LoadGeneratorDescriptionExecutor
that wants to execute the givenLoadGeneratorDescription
. - LoadGeneratorExecutorAdapter - Class in cambio.simulator.parsing.adapter.experiment
-
Adapter for creating
LoadGeneratorDescriptionExecutor
s from JSON. - LoadGeneratorExecutorAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.experiment.LoadGeneratorExecutorAdapter
- LoadGeneratorStopException - Exception Class in cambio.simulator.entities.generator
-
RuntimeException that represents the stopping of a generator.
- LoadGeneratorStopException() - Constructor for exception class cambio.simulator.entities.generator.LoadGeneratorStopException
-
Constructs a new runtime exception with
null
as its detail message. - LoadGeneratorStopException(String) - Constructor for exception class cambio.simulator.entities.generator.LoadGeneratorStopException
-
Constructs a new runtime exception with the specified detail message.
- LoadGeneratorStopException(String, Throwable) - Constructor for exception class cambio.simulator.entities.generator.LoadGeneratorStopException
-
Constructs a new runtime exception with the specified detail message and cause.
- LoadGeneratorStopException(String, Throwable, boolean, boolean) - Constructor for exception class cambio.simulator.entities.generator.LoadGeneratorStopException
-
Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- LoadGeneratorStopException(Throwable) - Constructor for exception class cambio.simulator.entities.generator.LoadGeneratorStopException
-
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - loadModel(File, Class<T>, TypeAdapter<T>) - Static method in class cambio.simulator.parsing.ModelLoader
-
Utility method for loading a model from a JSON-file.
- LocalDateTimeAdapter - Class in cambio.simulator.parsing.adapter
-
Allows LocalDateTimes to be parsed to and from JSON.
- LocalDateTimeAdapter() - Constructor for class cambio.simulator.parsing.adapter.LocalDateTimeAdapter
- longOpt() - Element in annotation interface cambio.simulator.CLIOption
-
Long option name.
- LoopDependencyDescription - Class in cambio.simulator.entities.networking
-
An intermediate
DependencyDescription
that repeats the execution of its child dependencies based on a number. - LoopDependencyDescription(Model) - Constructor for class cambio.simulator.entities.networking.LoopDependencyDescription
-
Creates a new loop dependency that is always executed once by default.
- LoopDependencyDescription(Model, double, double, int) - Constructor for class cambio.simulator.entities.networking.LoopDependencyDescription
-
Creates a new loop dependency.
- LoopDependencyDescription(Model, int) - Constructor for class cambio.simulator.entities.networking.LoopDependencyDescription
-
Creates a new loop dependency that is always executed.
- LOW - Static variable in class cambio.simulator.misc.Priority
M
- main(String[]) - Static method in class cambio.simulator.Main
-
Main entry point of the program.
- Main - Class in cambio.simulator
-
Main class of the simulator.
- Main() - Constructor for class cambio.simulator.Main
- mainVarargs(String...) - Static method in class cambio.simulator.Main
-
Varargs variant of
Main.main(String[])
. - map(double) - Method in interface cambio.simulator.entities.generator.ScaleFunction
-
Maps the progress (time) to a value describing how much scaling should be applied.
- markEndOfExecution(long) - Method in class cambio.simulator.models.ExperimentMetaData
- markStartOfExperiment(long) - Method in class cambio.simulator.models.ExperimentMetaData
- markStartOfSetup(long) - Method in class cambio.simulator.models.ExperimentMetaData
- MAX_RETRIES_REACHED - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- maxRepetitions - Variable in class cambio.simulator.entities.generator.LoadGeneratorDescription
- Microservice - Class in cambio.simulator.entities.microservice
-
A Microservice is one of the core Entities of the simulation.
- Microservice(Model, String, boolean) - Constructor for class cambio.simulator.entities.microservice.Microservice
-
Creates a new instance of a
Microservice
. - MicroserviceAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Adapter for parsing JSON-data into
Microservice
object. - MicroserviceAdapter(MiSimModel, LinkedList<DependencyDescription>) - Constructor for class cambio.simulator.parsing.adapter.architecture.MicroserviceAdapter
- MicroserviceInstance - Class in cambio.simulator.entities.microservice
-
A
MicroserviceInstance
(in the following just called instance) represents an actual, running instance of aMicroservice
. - MicroserviceInstance(Model, String, boolean, Microservice, int) - Constructor for class cambio.simulator.entities.microservice.MicroserviceInstance
-
Creates a new
MicroserviceInstance
for the givenMicroservice
parent. - MicroserviceScaleEvent - Class in cambio.simulator.entities.microservice
-
For now this is an unused event to represent the scaling of a microservice.
- MicroserviceScaleEvent(Model, String, boolean, Microservice, int) - Constructor for class cambio.simulator.entities.microservice.MicroserviceScaleEvent
-
Creates a new scaling event.
- MiSimModel - Class in cambio.simulator.models
-
Main model that contains architectural and experiment descriptions/data.
- MiSimModel(File, File) - Constructor for class cambio.simulator.models.MiSimModel
-
Creates a new MiSimModel and loads the metadata from the experiment model.
- MiSimModelReferencingTypeAdapter<T> - Class in cambio.simulator.parsing.adapter
-
Collection class to mark Adapters that need a
MiSimModel
for parsing. - MiSimModelReferencingTypeAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.MiSimModelReferencingTypeAdapter
- MiSimReporter<R extends AsyncReportWriter<?>> - Class in cambio.simulator.export
-
Base class for all MiSimReporters.
- MiSimReporter(Model, String) - Constructor for class cambio.simulator.export.MiSimReporter
-
Creates a new MiSimReporter.
- MiSimReporters - Class in cambio.simulator.export
-
Class that manges all
MiSimReporter
s. - MiSimReporters() - Constructor for class cambio.simulator.export.MiSimReporters
- model - Variable in class cambio.simulator.export.MiSimReporter
- model - Variable in class cambio.simulator.parsing.adapter.MiSimModelReferencingTypeAdapter
- modelFile - Variable in class cambio.simulator.entities.generator.LimboLoadGeneratorDescription
- ModelLoader - Class in cambio.simulator.parsing
-
Utility class for loading the MiSim architecture and experiment descriptions from JSON-files.
- ModelLoader() - Constructor for class cambio.simulator.parsing.ModelLoader
- MTLActivationListener - Class in cambio.simulator.behavior
-
Listener that takes care of handling the activation of MTL events.
- MTLActivationListener(ISubscribableTriggerNotifier, MiSimModel) - Constructor for class cambio.simulator.behavior.MTLActivationListener
-
Creates a new instance of an MTL listener.
- mtlLoc() - Method in class cambio.simulator.ExperimentStartupConfig
- MultiDataPointReporter - Class in cambio.simulator.export
-
Dynamically-typed data point collector.
- MultiDataPointReporter(Model) - Constructor for class cambio.simulator.export.MultiDataPointReporter
- MultiDataPointReporter(String, Model) - Constructor for class cambio.simulator.export.MultiDataPointReporter
- MultiLevelFeedbackQueueScheduler - Class in cambio.simulator.resources.cpu.scheduling
-
Implements a Multi-Level Feedback Queue scheduler.
- MultiLevelFeedbackQueueScheduler(String) - Constructor for class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Creates a new 3-layer multi level feedback queue.
- MultiLevelFeedbackQueueScheduler(String, int) - Constructor for class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Creates a new n-layer multi level feedback queue.
N
- NamedEntity - Class in cambio.simulator.entities
-
Class that adds further options for the retrieving of names of
Entity
s. - NamedEntity(Model, String, boolean) - Constructor for class cambio.simulator.entities.NamedEntity
-
Constructor for a named entity.
- NamedExternalEvent - Class in cambio.simulator.entities
-
Class that adds further options for the retrieving of names of
ExternalEvent
s. - NamedExternalEvent(Model, String, boolean) - Constructor for class cambio.simulator.entities.NamedExternalEvent
-
Constructs a new named event.
- NamedSimProcess - Class in cambio.simulator.entities
-
Class that adds further options for the retrieving of names of
SimProcess
's. - NamedSimProcess(Model, String, boolean) - Constructor for class cambio.simulator.entities.NamedSimProcess
-
Constructs a new named non-repeating simulation process.
- NamedSimProcess(Model, String, boolean, boolean) - Constructor for class cambio.simulator.entities.NamedSimProcess
-
Constructs a new named simulation process.
- NameReferenceTypeAdapterFactory - Class in cambio.simulator.parsing.adapter.experiment
-
Factory for Adapters that turn JSON-strings into
Microservice
andOperation
objects using theNameResolver
. - NameReferenceTypeAdapterFactory(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.experiment.NameReferenceTypeAdapterFactory
- NameResolver - Class in cambio.simulator.misc
-
Utility class to help resolve names into
Operation
andMicroservice
object. - NameResolver() - Constructor for class cambio.simulator.misc.NameResolver
- NETWORK_FAILED - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- NETWORK_LATENCY_REPORTER - Static variable in class cambio.simulator.export.MiSimReporters
- NetworkRequestCanceledEvent - Class in cambio.simulator.entities.networking
-
Event that should be scheduled when a request gets canceled.
- NetworkRequestCanceledEvent(Model, String, boolean, Request, RequestFailedReason) - Constructor for class cambio.simulator.entities.networking.NetworkRequestCanceledEvent
- NetworkRequestCanceledEvent(Model, String, boolean, Request, RequestFailedReason, String) - Constructor for class cambio.simulator.entities.networking.NetworkRequestCanceledEvent
-
Creates an event that notifies
IRequestUpdateListener
s of the failing of a request. - NetworkRequestEvent - Class in cambio.simulator.entities.networking
-
Superclass for network events that take care of exactly one traveling
Request
. - NetworkRequestEvent(Model, String, boolean, Request) - Constructor for class cambio.simulator.entities.networking.NetworkRequestEvent
-
Common constructor that enforces the association of a request with an External Event.
- NetworkRequestReceiveEvent - Class in cambio.simulator.entities.networking
-
Event that represents the successful arrival of a request at its target instance.
- NetworkRequestReceiveEvent(Model, String, boolean, Request, MicroserviceInstance) - Constructor for class cambio.simulator.entities.networking.NetworkRequestReceiveEvent
- NetworkRequestSendEvent - Class in cambio.simulator.entities.networking
-
Event that represents the sending of a request.
- NetworkRequestSendEvent(Model, String, boolean, Request, Microservice) - Constructor for class cambio.simulator.entities.networking.NetworkRequestSendEvent
- NetworkRequestSendEvent(Model, String, boolean, Request, MicroserviceInstance) - Constructor for class cambio.simulator.entities.networking.NetworkRequestSendEvent
- NetworkRequestTimeoutEvent - Class in cambio.simulator.entities.networking
-
Event that represents the timeout of a
Request
. - NetworkRequestTimeoutEvent(Model, String, boolean, Request) - Constructor for class cambio.simulator.entities.networking.NetworkRequestTimeoutEvent
-
Constructs and schedules a timeout of a request.
- NO_INSTANCE_AVAILABLE - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- NoInstanceAvailableException - Exception Class in cambio.simulator.entities.microservice
-
RuntimeException that is thrown if there are currently no requests service instances available.
- NoInstanceAvailableException() - Constructor for exception class cambio.simulator.entities.microservice.NoInstanceAvailableException
- NORMAL - Static variable in class cambio.simulator.misc.Priority
- NormalDistributionAdapter - Class in cambio.simulator.parsing.adapter
-
Adapter for parsing normal distributions from JSON into a
ContDistNormal
. - NormalDistributionAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.NormalDistributionAdapter
- notComputed - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- notifyArrivalFailure(TimeInstant) - Method in class cambio.simulator.entities.patterns.CountingCircuitBreakerState
-
Notify the circuit breaker state that a request failed.
- notifyArrivalFailure(TimeInstant) - Method in interface cambio.simulator.entities.patterns.ICircuitBreakerState
-
Notify the circuit breaker state that a request failed.
- notifyArrivalFailure(TimeInstant) - Method in class cambio.simulator.entities.patterns.TimingWindowCircuitBreakerState
- notifyDependencyHasFinished(ServiceDependencyInstance) - Method in class cambio.simulator.entities.networking.Request
-
Tells this request that one
ServiceDependencyInstance
has finished. - notifySuccessfulCompletion(TimeInstant) - Method in class cambio.simulator.entities.patterns.CountingCircuitBreakerState
-
Notify the circuit breaker state that a request was sent successfully.
- notifySuccessfulCompletion(TimeInstant) - Method in interface cambio.simulator.entities.patterns.ICircuitBreakerState
-
Notify the circuit breaker state that a request was sent successfully.
- notifySuccessfulCompletion(TimeInstant) - Method in class cambio.simulator.entities.patterns.TimingWindowCircuitBreakerState
O
- onCompletion() - Method in class cambio.simulator.entities.networking.Request
- onComputationComplete() - Method in class cambio.simulator.entities.networking.Request
- onDependenciesComplete() - Method in class cambio.simulator.entities.networking.Request
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.CircuitBreaker
- onInitializedCompleted(Model) - Method in interface cambio.simulator.entities.patterns.IPatternLifeCycleHooks
-
Will be called after completion of the initialization right after the config was injected.
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.JitteringExponentialBackoffRetryStrategy
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.JitteringLinearBackoffRetryStrategy
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.PeriodicServiceOwnedPattern
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.RandomLoadBalanceStrategy
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.StrategicInstanceOwnedPattern
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.StrategicPeriodicServiceOwnedPattern
- onInitializedCompleted(Model) - Method in class cambio.simulator.entities.patterns.UtilizationBalanceStrategy
- onReceive() - Method in class cambio.simulator.entities.networking.Request
- onReceive() - Method in class cambio.simulator.entities.networking.UserRequest
- onRequestArrivalAtTarget(Request, TimeInstant) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- onRequestArrivalAtTarget(Request, TimeInstant) - Method in interface cambio.simulator.entities.networking.IRequestUpdateListener
-
Listener for the successful completion of the sending process.
- onRequestArrivalAtTarget(Request, TimeInstant) - Method in class cambio.simulator.entities.patterns.Retry
- onRequestFailed(Request, TimeInstant, RequestFailedReason) - Method in class cambio.simulator.entities.generator.LoadGeneratorDescriptionExecutor
-
Listener for the failure of the sending process.
- onRequestFailed(Request, TimeInstant, RequestFailedReason) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- onRequestFailed(Request, TimeInstant, RequestFailedReason) - Method in interface cambio.simulator.entities.networking.IRequestUpdateListener
-
Listener for the failure of the sending process.
- onRequestFailed(Request, TimeInstant, RequestFailedReason) - Method in class cambio.simulator.entities.networking.NetworkRequestTimeoutEvent
- onRequestFailed(Request, TimeInstant, RequestFailedReason) - Method in class cambio.simulator.entities.patterns.CircuitBreaker
- onRequestFailed(Request, TimeInstant, RequestFailedReason) - Method in class cambio.simulator.entities.patterns.Retry
- onRequestResultArrivedAtRequester(Request, TimeInstant) - Method in class cambio.simulator.entities.generator.LoadGeneratorDescriptionExecutor
-
Listener for the successful receiving of the answer of a request.
- onRequestResultArrivedAtRequester(Request, TimeInstant) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- onRequestResultArrivedAtRequester(Request, TimeInstant) - Method in interface cambio.simulator.entities.networking.IRequestUpdateListener
-
Listener for the successful receiving of the answer of a request.
- onRequestResultArrivedAtRequester(Request, TimeInstant) - Method in class cambio.simulator.entities.networking.NetworkRequestTimeoutEvent
- onRequestResultArrivedAtRequester(Request, TimeInstant) - Method in class cambio.simulator.entities.patterns.CircuitBreaker
- onRequestResultArrivedAtRequester(Request, TimeInstant) - Method in class cambio.simulator.entities.patterns.Retry
- onRequestSend(Request, TimeInstant) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- onRequestSend(Request, TimeInstant) - Method in interface cambio.simulator.entities.networking.IRequestUpdateListener
-
Listener for the send-off of a request.
- onRequestSend(Request, TimeInstant) - Method in class cambio.simulator.entities.patterns.CircuitBreaker
- onRequestSend(Request, TimeInstant) - Method in class cambio.simulator.entities.patterns.Retry
- onRoutineExecution() - Method in class cambio.simulator.entities.generator.ScaleLoadEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.microservice.MicroserviceScaleEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.NamedExternalEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.networking.NetworkRequestCanceledEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.networking.NetworkRequestEvent
-
To be implemented by Subclasses.
- onRoutineExecution() - Method in class cambio.simulator.entities.networking.NetworkRequestReceiveEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.networking.NetworkRequestSendEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.networking.NetworkRequestTimeoutEvent
- onRoutineExecution() - Method in class cambio.simulator.entities.patterns.HalfOpenBreakerEvent
- onRoutineExecution() - Method in class cambio.simulator.events.ChaosMonkeyEvent
-
The eventRoutine of the
ChaosMonkeyEvent
. - onRoutineExecution() - Method in class cambio.simulator.events.DelayInjection
- onRoutineExecution() - Method in class cambio.simulator.events.HookEvent
- onRoutineExecution() - Method in class cambio.simulator.events.SimulationEndEvent
- onRoutineExecution() - Method in class cambio.simulator.events.SummonerMonkeyEvent
-
The eventRoutine of the
SummonerMonkeyEvent
. - onRoutineExecution() - Method in class cambio.simulator.resources.cpu.ComputationBurstCompletedEvent
- onRoutineExecution() - Method in class cambio.simulator.resources.cpu.CPU
-
Generic routine of the CPU implementation.
- onTriggered() - Method in class cambio.simulator.entities.patterns.BasicPeriodicAutoscalingStrategyProxy
- onTriggered() - Method in interface cambio.simulator.entities.patterns.IPeriodicPattern
- OPEN - Enum constant in enum class cambio.simulator.entities.patterns.CircuitBreakerState
- operation - Variable in class cambio.simulator.entities.networking.Request
- Operation - Class in cambio.simulator.entities.microservice
-
An
Operation
represents an endpoint of a service. - Operation(Model, String, boolean, Microservice, int) - Constructor for class cambio.simulator.entities.microservice.Operation
-
Constructs a new endpoint for a microservice.
- OperationAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Adapter for parsing
Operation
s from JSON. - OperationAdapter(MiSimModel, String, List<DependencyDescription>) - Constructor for class cambio.simulator.parsing.adapter.architecture.OperationAdapter
-
Constructor creating an adapter for parsing Operations.
- operationNameFromComposed(String) - Static method in class cambio.simulator.misc.NameResolver
-
Extracts the actual operation name from a composed operation name (including the microservice name).
- operationNameFromComposed(String, String) - Static method in class cambio.simulator.misc.NameResolver
-
Extracts the actual operation name from a composed operation name (including the microservice name).
- operationNameIsComposed(String) - Static method in class cambio.simulator.misc.NameResolver
-
Evaluates whether the operation name also contains the name of the microservice.
- opt() - Element in annotation interface cambio.simulator.CLIOption
-
Short option name.
- optionGroup() - Element in annotation interface cambio.simulator.CLIOption
-
Name of the option-group this option belongs to.
- optionGroupRequired() - Element in annotation interface cambio.simulator.CLIOption
-
Whether the option-group is required.
- owner - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- owner - Variable in class cambio.simulator.entities.patterns.InstanceOwnedPattern
- owner - Variable in class cambio.simulator.entities.patterns.ServiceOwnedPattern
P
- parse(MiSimModel) - Method in class cambio.simulator.parsing.adapter.scenario.ScenarioDescription
-
Convert this scenario description into a set of event objects.
- parseArguments(Class<T>, String[]) - Static method in class cambio.simulator.CLI
-
Parses the given arguments into the given dataclass using
CLIOption
s and aCommandLine
under the hood. - parseArgumentsToCommandLine(Class<?>, String[]) - Static method in class cambio.simulator.CLI
-
Parses the given arguments into a
CommandLine
object using the optionsProviderClass. - parseCommandLineToDataObject(CommandLine, Class<? extends T>) - Static method in class cambio.simulator.CLI
-
Creates a new
ExperimentStartupConfig
based on the givenCommandLine
that should be created via theCLI
class. - ParsingException - Exception Class in cambio.simulator.parsing
-
Exception thrown when the parsers encounter a problem.
- ParsingException() - Constructor for exception class cambio.simulator.parsing.ParsingException
- ParsingException(String) - Constructor for exception class cambio.simulator.parsing.ParsingException
- ParsingException(String, Throwable) - Constructor for exception class cambio.simulator.parsing.ParsingException
- ParsingException(String, Throwable, boolean, boolean) - Constructor for exception class cambio.simulator.parsing.ParsingException
- ParsingException(Throwable) - Constructor for exception class cambio.simulator.parsing.ParsingException
- PARTIALLY_COMPLETED - Enum constant in enum class cambio.simulator.entities.networking.RequestState
- PathAdapterFactory - Class in cambio.simulator.parsing.adapter
-
Adapter factory to react to different Path classes such as
sun.nio.fs.WindowsPath
. - PathAdapterFactory() - Constructor for class cambio.simulator.parsing.adapter.PathAdapterFactory
- PatternConfigurationParser - Class in cambio.simulator.parsing
-
Utility class for parsing
TypeNameAssociatedConfigurationData
into a pattern. - PatternConfigurationParser() - Constructor for class cambio.simulator.parsing.PatternConfigurationParser
- patterns - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- period - Variable in class cambio.simulator.entities.patterns.StrategicPeriodicServiceOwnedPattern
- PeriodicPatternScheduler - Class in cambio.simulator.entities.patterns
-
Class that takes care of periodically triggering
IPeriodicPattern
objects. - PeriodicPatternScheduler(Model, IPeriodicPattern, double, double, double) - Constructor for class cambio.simulator.entities.patterns.PeriodicPatternScheduler
-
Creates a new scheduler.
- PeriodicServiceOwnedPattern - Class in cambio.simulator.entities.patterns
-
A service owned pattern that is automatically triggered periodically.
- PeriodicServiceOwnedPattern(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.PeriodicServiceOwnedPattern
- post(Schedulable) - Static method in class cambio.simulator.EventBus
- preCacheData() - Method in class cambio.simulator.entities.patterns.InstanceOwnedPatternConfiguration
-
Triggers the
JsonTypeNameResolver
to build a cache for all subtypes ofInstanceOwnedPattern
. - prepareReportDirectory(ExperimentStartupConfig, ExperimentMetaData) - Static method in class cambio.simulator.export.ExportUtils
-
Creates the report directory of the current experiment.
- prepareReportDirectory(ExperimentStartupConfig, MiSimModel) - Static method in class cambio.simulator.export.ExportUtils
-
Creates the report directory of the current experiment.
- printGraph() - Method in class cambio.simulator.export.DependencyGraph
-
Create the javascript code for the
DependencyGraph
. - Priority - Class in cambio.simulator.misc
-
Contains Constants to make prioritized scheduling easier to read.
- Priority() - Constructor for class cambio.simulator.misc.Priority
- probeInterval - Static variable in class cambio.simulator.resources.cpu.BinnedCPUUtilizationTracker
Q
- QuickRoundRobinLoadbalancer - Class in cambio.simulator.entities.patterns
-
Implements a simple round-robin load balancing strategy.
- QuickRoundRobinLoadbalancer() - Constructor for class cambio.simulator.entities.patterns.QuickRoundRobinLoadbalancer
R
- RandomLoadBalanceStrategy - Class in cambio.simulator.entities.patterns
-
A randomized load balancing strategy.
- RandomLoadBalanceStrategy() - Constructor for class cambio.simulator.entities.patterns.RandomLoadBalanceStrategy
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.architecture.ServiceOwnedPatternAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentModelAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.architecture.ArchitectureModelAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.architecture.DependencyDescriptionAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.architecture.InstanceOwnedPatternConfigAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.architecture.MicroserviceAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.architecture.OperationAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.ConfigurableNamedTypeAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.DiscreteDistributionAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.DoubleWriteAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentActionAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentMetaDataAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.experiment.LoadGeneratorExecutorAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.FileAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.LocalDateTimeAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.NormalDistributionAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.scenario.ScenarioDescriptionAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.StrategyWrapperTypeAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.TimeInstantAdapter
- read(JsonReader) - Method in class cambio.simulator.parsing.adapter.TimeSpanAdapter
- RECEIVED_AT_HANDLER - Enum constant in enum class cambio.simulator.entities.networking.RequestState
- reduceDemandRemainder(double) - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Subtracts the given demand amount from he this process remaining demand.
- registerDefaultHeader(String, String...) - Method in class cambio.simulator.export.AccumulativeDataPointReporter
- registerDefaultHeader(String, String...) - Method in class cambio.simulator.export.AverageDataPointReporter
- registerDefaultHeader(String, String...) - Method in class cambio.simulator.export.ListCollectingReporter
- registerDefaultHeader(String, String...) - Method in class cambio.simulator.export.MiSimReporter
-
Changes the headers of the given dataset.
- registerDefaultHeader(String, String...) - Method in class cambio.simulator.export.SnapshotDataPointReporter
- registerReporter(MiSimReporter<?>) - Static method in class cambio.simulator.export.MiSimReporters
-
Registers a new reporter to be finalized at the end of the simulation.
- rename(String) - Method in class cambio.simulator.entities.NamedEntity
-
Renames this entity.
- rename(String) - Method in class cambio.simulator.entities.NamedExternalEvent
-
Renames this entity.
- rename(String) - Method in class cambio.simulator.entities.NamedSimProcess
-
Renames this entity.
- repeating - Variable in class cambio.simulator.entities.generator.LoadGeneratorDescription
- repetitionSkip - Variable in class cambio.simulator.entities.generator.LoadGeneratorDescription
- reportBasePath - Variable in class cambio.simulator.export.MiSimReporter
- reporter - Variable in class cambio.simulator.entities.microservice.Microservice
- reporter - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- Request - Class in cambio.simulator.entities.networking
-
Represents a Request that can travel between two
MicroserviceInstance
s. - Request(Model, String, boolean, Request, Operation, MicroserviceInstance) - Constructor for class cambio.simulator.entities.networking.Request
- REQUEST_VOLUME_REACHED - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- RequestAnswer - Class in cambio.simulator.entities.networking
-
Wrapper class to ease responding to
Request
s. - RequestAnswer(Request, MicroserviceInstance) - Constructor for class cambio.simulator.entities.networking.RequestAnswer
-
Constructs a new
RequestAnswer
. - RequestFailedReason - Enum Class in cambio.simulator.entities.networking
-
Contains a collection of reasons, why a request can fail.
- REQUESTING_INSTANCE_DIED - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- RequestSender - Class in cambio.simulator.entities.networking
-
Class that provides the ability to send requests and register listeners to this requests.
- RequestSender(Model, String, boolean) - Constructor for class cambio.simulator.entities.networking.RequestSender
- RequestState - Enum Class in cambio.simulator.entities.networking
-
TODO: integration of this state definitions.
- required() - Element in annotation interface cambio.simulator.CLIOption
-
Defines whether the CLI option is required.
- requireGreaterZero(Number) - Static method in class cambio.simulator.misc.Util
-
Checks whether a number is greater than 0.
- requireGreaterZero(Number, String) - Static method in class cambio.simulator.misc.Util
-
Checks whether a number is greater than 0.
- requireNonNegative(Number) - Static method in class cambio.simulator.misc.Util
-
Checks whether a number is smaller than zero.
- requireNonNegative(Number, String) - Static method in class cambio.simulator.misc.Util
-
Checks whether a number is smaller than zero.
- requirePercentage(double) - Static method in class cambio.simulator.misc.Util
-
Checks whether a parameter is a percentage value.
- requirePercentage(double, String) - Static method in class cambio.simulator.misc.Util
-
Checks whether a parameter is a percentage value.
- reset() - Method in class cambio.simulator.entities.generator.ArrivalRateModel
- reset() - Static method in class cambio.simulator.misc.RNGStorage
-
Resets/Removes all key-value pairs.
- resetCounterSendEvents() - Static method in class cambio.simulator.entities.networking.NetworkRequestSendEvent
- resetModelIteration() - Method in class cambio.simulator.entities.generator.ArrivalRateModel
- resetSendTimeStamps() - Method in class cambio.simulator.entities.networking.Request
- resolveFromJsonTypeName(String, Class<U>) - Static method in class cambio.simulator.parsing.JsonTypeNameResolver
-
Resolves the given
jsonTypeName
into an actual type that is marked with@JsonTypeName (jsonTypeName)
. - resolveMicroserviceName(ArchitectureModel, String) - Static method in class cambio.simulator.misc.NameResolver
-
Resolves the given name into a
Microservice
object. - resolveMicroserviceName(MiSimModel, String) - Static method in class cambio.simulator.misc.NameResolver
-
Resolves the given name into a
Microservice
object. - resolveNames(ArchitectureModel) - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Turns the
SimpleDependencyDescription.targetServiceName
andSimpleDependencyDescription.targetOperationName
into the actual target Operation reference. - resolveOperationName(ArchitectureModel, String) - Static method in class cambio.simulator.misc.NameResolver
-
Resolves the given name into a
Operation
object. - resolveOperationName(MiSimModel, String) - Static method in class cambio.simulator.misc.NameResolver
-
Resolves the given name into a
Operation
object. - retrieveNextProcess() - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Pulls the next
CPUProcess
to handle and its assigned time/work quantum. - retrieveNextProcess() - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Pulls the next Process to handle and how much demand should be accomplished.
- retrieveNextProcess() - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Pulls the next
CPUProcess
to handle and its assigned time/work quantum. - retrieveNextProcess() - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Pulls the next Process to handle and how much demand should be accomplished.
- retrieveNextProcess() - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Pulls the next Process to handle and its assigned time/work quantum.
- retrieveNextProcess() - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Pulls the next
CPUProcess
to handle and its assigned time/work quantum. - retrieveNextProcessNoReschedule() - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Pulls the next
CPUProcess
to handle and its assigned time/work quantum.
Prevents automatic rescheduling of the process like in round-robin scheduling. - retrieveNextProcessNoReschedule() - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Pulls the next Process to handle and its assigned time/work quantum.
Prevents automatic rescheduling of the process like in round-robin scheduling. - retrieveNextProcessNoReschedule() - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Pulls the next
CPUProcess
to handle and its assigned time/work quantum.
Prevents automatic rescheduling of the process like in round-robin scheduling. - retrieveNextProcessNoReschedule() - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Pulls the next Process to handle and its assigned time/work quantum.
Prevents automatic rescheduling of the process like in round robin scheduling. - retrieveNextProcessNoReschedule() - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Interface used by Multi Level Feedback queues.
- retrieveNextProcessNoReschedule() - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Pulls the next
CPUProcess
to handle and its assigned time/work quantum.
Prevents automatic rescheduling of the process like in round-robin scheduling. - retrieveTargetInstance() - Method in class cambio.simulator.entities.networking.NetworkRequestSendEvent
- Retry - Class in cambio.simulator.entities.patterns
-
Retry implementation that employs a full jitter based exponential backoff.
- Retry(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.Retry
- RETRY_MANAGER_REPORTER - Static variable in class cambio.simulator.export.MiSimReporters
- revert(ScaleFunction) - Static method in interface cambio.simulator.entities.generator.ScaleFunction
-
Creates a new function that reverts the provided function.
- RNGStorage - Class in cambio.simulator.misc
-
This class should be used to keep track of all static Random Number Generators (RNG).
- RNGStorage() - Constructor for class cambio.simulator.misc.RNGStorage
- RoundRobinLoadbalancer - Class in cambio.simulator.entities.patterns
-
Implements a simple round-robin load balancing strategy.
- RoundRobinLoadbalancer() - Constructor for class cambio.simulator.entities.patterns.RoundRobinLoadbalancer
- RoundRobinScheduler - Class in cambio.simulator.resources.cpu.scheduling
-
Self adjusting Round-Robin (SARR) scheduler with dynamic median-based quantum calculation.
- RoundRobinScheduler(String) - Constructor for class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
- runExperiment(ExperimentStartupConfig) - Static method in class cambio.simulator.Main
-
Starts an experiment with the given
ExperimentStartupConfig
. - runExperiment(String) - Static method in class cambio.simulator.Main
-
Starts an experiment, and uses the given string as cli arguments (splits on spaces).
- RUNNING - Enum constant in enum class cambio.simulator.entities.microservice.InstanceState
-
The startup process was completed successfully.
The instance can now receiveRequests
S
- ScaleFactor - Class in cambio.simulator.entities.generator
-
Describes time-dependent scaling of load.
- ScaleFactor(double, double, long, long) - Constructor for class cambio.simulator.entities.generator.ScaleFactor
-
Creates a scaling factor beginning with a specified value based on the specification of a duration and the default scaling function (constant).
- ScaleFactor(double, double, long, long, ScaleFunction) - Constructor for class cambio.simulator.entities.generator.ScaleFactor
-
Creates a scaling factor beginning with a specified value based on the specification of a duration and a custom scaling function.
- ScaleFactor(double, long, long) - Constructor for class cambio.simulator.entities.generator.ScaleFactor
-
Creates a scaling factor based on the specification of a duration and the default scaling function (constant).
- ScaleFactor(double, long, long, ScaleFunction) - Constructor for class cambio.simulator.entities.generator.ScaleFactor
-
Creates a scaling factor based on the specification of a duration and a custom scaling function.
- ScaleFunction - Interface in cambio.simulator.entities.generator
-
A function that defines the shape of the time-dependent
ScaleFactor
. - scaleLoad(ScaleFactor) - Method in class cambio.simulator.entities.generator.ArrivalRateModel
- scaleLoad(ScaleFactor) - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
- scaleLoad(ScaleFactor) - Method in class cambio.simulator.entities.generator.LoadGeneratorDescriptionExecutor
- ScaleLoadEvent - Class in cambio.simulator.entities.generator
-
Event that handles scaling of load.
- ScaleLoadEvent(Model, String, boolean, LoadGeneratorDescriptionExecutor, ScaleFactor, TimeSpan) - Constructor for class cambio.simulator.entities.generator.ScaleLoadEvent
-
Constructs a new named event.
- scaleToInstancesCount(int) - Method in class cambio.simulator.entities.microservice.Microservice
-
Schedules the immediate start or shutdown of
MicroserviceInstance
s until the amount of active instances reaches the target instance count. - ScenarioDescription - Class in cambio.simulator.parsing.adapter.scenario
-
Represents a scenario description input.
- ScenarioDescription() - Constructor for class cambio.simulator.parsing.adapter.scenario.ScenarioDescription
- ScenarioDescriptionAdapter - Class in cambio.simulator.parsing.adapter.scenario
-
Apdater for parsing ATAM-Scenario descriptions.
- ScenarioDescriptionAdapter(MiSimModel) - Constructor for class cambio.simulator.parsing.adapter.scenario.ScenarioDescriptionAdapter
- SelfScheduledExperimentAction - Class in cambio.simulator.events
-
Represents an event that can do an initial self schedule if asked to.
- SelfScheduledExperimentAction(Model, String, boolean) - Constructor for class cambio.simulator.events.SelfScheduledExperimentAction
- SEND - Enum constant in enum class cambio.simulator.entities.networking.RequestState
- sendRequest(String, Request, Microservice) - Method in class cambio.simulator.entities.networking.RequestSender
-
Starts a RequestSendingProcess.
- sendRequest(String, Request, MicroserviceInstance) - Method in class cambio.simulator.entities.networking.RequestSender
-
Starts a RequestSendingProcess.
- sendRequest(String, Request, MicroserviceInstance, TimeSpan) - Method in class cambio.simulator.entities.networking.RequestSender
-
Starts a RequestSendingProcess.
- sendRequest(String, Request, Microservice, TimeSpan) - Method in class cambio.simulator.entities.networking.RequestSender
-
Starts a RequestSendingProcess.
- ServiceDependencyInstance - Class in cambio.simulator.entities.networking
-
This is an instance of a
SimpleDependencyDescription
. - ServiceDependencyInstance(Model, Request, Operation, SimpleDependencyDescription) - Constructor for class cambio.simulator.entities.networking.ServiceDependencyInstance
-
Creates an actual instance of a
SimpleDependencyDescription
. - ServiceOwnedPattern - Class in cambio.simulator.entities.patterns
-
Resilience Pattern that is owned by a
Microservice
. - ServiceOwnedPattern(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.ServiceOwnedPattern
- ServiceOwnedPatternAdapter - Class in cambio.simulator.parsing.adapter.architecture
-
Adapter for parsing patterns owned by
Microservice
s. - ServiceOwnedPatternAdapter(MiSimModel, String) - Constructor for class cambio.simulator.parsing.adapter.architecture.ServiceOwnedPatternAdapter
- setCanceled() - Method in class cambio.simulator.entities.networking.NetworkRequestSendEvent
- setCanceledEvent(NetworkRequestCanceledEvent) - Method in class cambio.simulator.entities.networking.Request
- setCapacity(int) - Method in class cambio.simulator.entities.microservice.Microservice
- setComputationCompleted() - Method in class cambio.simulator.entities.networking.Request
-
Marks the request computation demand as fulfilled at the present time.
- setCurrentBurstCompletionEvent(ComputationBurstCompletedEvent) - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Sets the event, that should be executed upon the next completion of a burst of this process.
- setDependencies(DependencyDescription[]) - Method in class cambio.simulator.entities.networking.IntermediateDependencyDescription
-
Sets the child dependencies of this dependency.
- setDuration(double) - Method in class cambio.simulator.events.DelayInjection
- setExtraDelay(NumericalDist<Double>) - Method in class cambio.simulator.entities.networking.SimpleDependencyDescription
- setFlushPeriodMs(int) - Static method in class cambio.simulator.export.AsyncReportWriter
- setHandler(MicroserviceInstance) - Method in class cambio.simulator.entities.networking.Request
- setInstancesCount(int) - Method in class cambio.simulator.entities.microservice.Microservice
-
Similar to
Microservice.scaleToInstancesCount(int)
but also overwrites the general target instance count of this service. - setInterval(double) - Method in class cambio.simulator.entities.generator.IntervalLoadGeneratorDescription
- setOperations(Operation[]) - Method in class cambio.simulator.entities.microservice.Microservice
- setParser(Gson) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentActionAdapter
- setParser(Gson) - Method in class cambio.simulator.parsing.adapter.experiment.LoadGeneratorExecutorAdapter
- setReceiveEvent(NetworkRequestReceiveEvent) - Method in class cambio.simulator.entities.networking.Request
- setReportLocation(Path) - Method in class cambio.simulator.models.ExperimentMetaData
- setScaleFunction(ScaleFunction) - Method in class cambio.simulator.entities.generator.ScaleFactor
- setSendEvent(NetworkRequestSendEvent) - Method in class cambio.simulator.entities.networking.Request
- setStartDate(LocalDateTime) - Method in class cambio.simulator.models.ExperimentMetaData
- setState(InstanceState) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- setStrategy(S) - Method in interface cambio.simulator.entities.patterns.IStrategyAcceptor
- setStrategy(S) - Method in class cambio.simulator.entities.patterns.StrategicInstanceOwnedPattern
- setStrategy(S) - Method in class cambio.simulator.entities.patterns.StrategicServiceOwnedPattern
- setTargetTime(TimeInstant) - Method in class cambio.simulator.events.SelfScheduledExperimentAction
- setThreadPoolSize(int) - Static method in class cambio.simulator.export.AsyncReportWriter
- ShortestJobNextScheduler - Class in cambio.simulator.resources.cpu.scheduling
-
Scheduler, that schedules all entered processes by their left over work unit demand.
- ShortestJobNextScheduler(String) - Constructor for class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
- showProgressBarOn() - Method in class cambio.simulator.ExperimentStartupConfig
- shutdown() - Method in class cambio.simulator.entities.patterns.CircuitBreaker
- shutdown() - Method in interface cambio.simulator.entities.patterns.IPatternLifeCycleHooks
-
Will be called by the owning instance upon an unexpected shutdown (kill).
- shutdown() - Method in interface cambio.simulator.entities.patterns.IPeriodicPattern
- shutdown() - Method in class cambio.simulator.entities.patterns.Retry
- SHUTDOWN - Enum constant in enum class cambio.simulator.entities.microservice.InstanceState
-
The shutdown process was completed successfully.
The instance does not accept any requests.
The instance can be restarted to continue working. - SHUTTING_DOWN - Enum constant in enum class cambio.simulator.entities.microservice.InstanceState
-
The shutdown process of this instance was triggered.
- SimpleDependencyDescription - Class in cambio.simulator.entities.networking
-
Represents the leaf dependencies in a hierarchy of
DependencyDescription
s. - SimpleDependencyDescription(Operation, Operation) - Constructor for class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Constructs a new Dependency object to represent the need of one operation to call another.
- SimpleDependencyDescription(Operation, Operation, double) - Constructor for class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Constructs a new Dependency object to represent the need of one operation to call another.
- SimpleDependencyDescription(Operation, Operation, double, Double) - Constructor for class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Constructs a new Dependency object to represent the need of one operation to call another.
- SimpleDependencyDescription(Operation, Operation, double, Double, double) - Constructor for class cambio.simulator.entities.networking.SimpleDependencyDescription
-
Constructs a new Dependency object to represent the need of one operation to call another.
- SIMULATION_METADATA_KEYS - Static variable in class cambio.simulator.parsing.adapter.experiment.ExperimentMetaDataAdapter
- SimulationEndEvent - Class in cambio.simulator.events
-
A
SimulationEndEvent
is anExternalEvent
that is called upon the end of the simulation. - SimulationEndEvent(MiSimModel, String, boolean) - Constructor for class cambio.simulator.events.SimulationEndEvent
-
Creates a new
SimulationEndEvent
that finishes off the simulation. - size() - Method in class cambio.simulator.resources.cpu.scheduling.CPUProcessScheduler
-
Counts the amount of processes that are currently scheduled.
- size() - Method in class cambio.simulator.resources.cpu.scheduling.FIFOScheduler
-
Counts the amount of processes that are currently scheduled.
- size() - Method in class cambio.simulator.resources.cpu.scheduling.LIFOScheduler
-
Counts the amount of processes that are currently scheduled.
- size() - Method in class cambio.simulator.resources.cpu.scheduling.MultiLevelFeedbackQueueScheduler
-
Counts the amount of processes that are currently scheduled.
- size() - Method in class cambio.simulator.resources.cpu.scheduling.RoundRobinScheduler
-
Counts the amount of processes that are currently scheduled.
- size() - Method in class cambio.simulator.resources.cpu.scheduling.ShortestJobNextScheduler
-
Counts the amount of processes that are currently scheduled.
- snapshortReporter - Variable in class cambio.simulator.entities.microservice.Microservice
- SnapshotDataPointReporter - Class in cambio.simulator.export
-
Reports last value for the given time bucket.
- SnapshotDataPointReporter(Model) - Constructor for class cambio.simulator.export.SnapshotDataPointReporter
- SnapshotDataPointReporter(Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.SnapshotDataPointReporter
- SnapshotDataPointReporter(String, Model) - Constructor for class cambio.simulator.export.SnapshotDataPointReporter
- SnapshotDataPointReporter(String, Model, UnaryOperator<TimeInstant>) - Constructor for class cambio.simulator.export.SnapshotDataPointReporter
- stampCurrentBurstStarted(TimeInstant) - Method in class cambio.simulator.resources.cpu.CPUProcess
-
Stamps the start of the next cpu burst.
- stampReceived(TimeInstant) - Method in class cambio.simulator.entities.networking.Request
- stampReceivedAtHandler(TimeInstant) - Method in class cambio.simulator.entities.networking.Request
-
Marks the point in time this request was received at a handler.
- stampSendoff(TimeInstant) - Method in class cambio.simulator.entities.networking.Request
-
Marks the point in time this request was send.
- start - Variable in class cambio.simulator.entities.patterns.StrategicPeriodicServiceOwnedPattern
- start() - Method in class cambio.simulator.entities.microservice.Microservice
-
Starts this
Microservice
. - start() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Starts this instance, reading it to receive requests.
- start() - Method in interface cambio.simulator.entities.patterns.IPatternLifeCycleHooks
-
Will be called once the owning entity is ready to communicate.
- started - Variable in class cambio.simulator.entities.microservice.Microservice
- STARTING - Enum constant in enum class cambio.simulator.entities.microservice.InstanceState
-
The startup process was triggered.
- startShutdown() - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
-
Starts the shutdown sequence of this instance.
- state - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- stop - Variable in class cambio.simulator.entities.patterns.StrategicPeriodicServiceOwnedPattern
- stopTime - Variable in class cambio.simulator.entities.generator.LoadGeneratorDescription
- StrategicInstanceOwnedPattern<S extends IStrategy> - Class in cambio.simulator.entities.patterns
-
Represents a
ServiceOwnedPattern
that wants to be injected with anIStrategy
object. - StrategicInstanceOwnedPattern(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.StrategicInstanceOwnedPattern
- StrategicPeriodicServiceOwnedPattern<S extends IStrategy> - Class in cambio.simulator.entities.patterns
-
Represents a pattern owned by a
Microservice
that employs aIStrategy
. - StrategicPeriodicServiceOwnedPattern(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.StrategicPeriodicServiceOwnedPattern
- StrategicServiceOwnedPattern<S extends IStrategy> - Class in cambio.simulator.entities.patterns
-
Represents a pattern owned by a
Microservice
that employs aIStrategy
. - StrategicServiceOwnedPattern(Model, String, boolean) - Constructor for class cambio.simulator.entities.patterns.StrategicServiceOwnedPattern
- strategy - Variable in class cambio.simulator.entities.patterns.StrategicInstanceOwnedPattern
- strategy - Variable in class cambio.simulator.entities.patterns.StrategicServiceOwnedPattern
- strategyConfiguration - Variable in class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
- StrategyNotFoundException - Exception Class in cambio.simulator.parsing
-
Exception class to symbolize the absence of an
IStrategy
class. - StrategyNotFoundException() - Constructor for exception class cambio.simulator.parsing.StrategyNotFoundException
- StrategyNotFoundException(String) - Constructor for exception class cambio.simulator.parsing.StrategyNotFoundException
- StrategyNotFoundException(String, Throwable) - Constructor for exception class cambio.simulator.parsing.StrategyNotFoundException
- StrategyWrapperTypeAdapter<T,
S> - Class in cambio.simulator.parsing.adapter -
Adapter that allows for custom initialization of entities using a function callback.
- StrategyWrapperTypeAdapter(Class<S>, Function<S, T>) - Constructor for class cambio.simulator.parsing.adapter.StrategyWrapperTypeAdapter
- StrategyWrapperTypeAdapter(Class<S>, Function<S, T>, Gson) - Constructor for class cambio.simulator.parsing.adapter.StrategyWrapperTypeAdapter
- StrategyWrapperTypeAdapter(Class<S>, Function<S, T>, TypeAdapterFactory) - Constructor for class cambio.simulator.parsing.adapter.StrategyWrapperTypeAdapter
- submitProcess(CPUProcess) - Method in class cambio.simulator.resources.cpu.CPU
-
Schedules the given process to be executed.
- submitProcessToCPU(CPUProcess) - Method in class cambio.simulator.entities.microservice.MicroserviceInstance
- subscribe(Class<T>, Consumer<T>) - Static method in class cambio.simulator.EventBus
- subtract(TimeInstant, TimeInstant) - Static method in class cambio.simulator.misc.TimeUtil
- SummonerMonkeyEvent - Class in cambio.simulator.events
-
A
SummonerMonkeyEvent
is anExternalEvent
that gets scheduled at the begin of the experiment. - SummonerMonkeyEvent(Model, String, boolean) - Constructor for class cambio.simulator.events.SummonerMonkeyEvent
- SummonerMonkeyEvent(Model, String, boolean, Microservice, int) - Constructor for class cambio.simulator.events.SummonerMonkeyEvent
-
Instantiate a
SummonerMonkeyEvent
. - supplier() - Method in class cambio.simulator.misc.CollectorImpl
T
- targetOperation - Variable in class cambio.simulator.entities.generator.LoadGeneratorDescription
- timeFormat(long) - Static method in class cambio.simulator.misc.Util
-
Formats a nanosecond time into a fixed time span format.
- TimeInstantAdapter - Class in cambio.simulator.parsing.adapter
-
Gson
TypeAdapter
forTimeInstant
objects. - TimeInstantAdapter() - Constructor for class cambio.simulator.parsing.adapter.TimeInstantAdapter
- TIMEOUT - Enum constant in enum class cambio.simulator.entities.networking.RequestFailedReason
- TimeSpanAdapter - Class in cambio.simulator.parsing.adapter
-
Gson
TypeAdapter
forTimeSpan
objects. - TimeSpanAdapter() - Constructor for class cambio.simulator.parsing.adapter.TimeSpanAdapter
- TimeUtil - Class in cambio.simulator.misc
-
Provides useful (transformation) operations regarding time instants and spans.
- TimeUtil() - Constructor for class cambio.simulator.misc.TimeUtil
- TimingWindowCircuitBreakerState - Class in cambio.simulator.entities.patterns
-
This class represents an actual CircuitBreaker with the behavior defined by Hystrix.
- toCSVData() - Method in interface cambio.simulator.export.CSVData
-
Converts this object to csv data.
- toCSVData(char) - Method in interface cambio.simulator.export.CSVData
-
Converts this object to csv data.
- toCSVHeader() - Method in interface cambio.simulator.export.CSVData
-
Gets the csv header for this object.
- toCSVHeader(char) - Method in interface cambio.simulator.export.CSVData
-
Gets the csv header for this object.
- toHalfOpen() - Method in class cambio.simulator.entities.patterns.CountingCircuitBreakerState
-
Method called by the
HalfOpenBreakerEvent
to half open this circuit after a certain amount of time. - toHalfOpen() - Method in interface cambio.simulator.entities.patterns.ICircuitBreakerState
-
Method called by the
HalfOpenBreakerEvent
to half open this circuit after a certain amount of time. - toHalfOpen() - Method in class cambio.simulator.entities.patterns.TimingWindowCircuitBreakerState
- toString() - Method in class cambio.simulator.entities.generator.LoadGeneratorDescription
- toString() - Method in class cambio.simulator.entities.microservice.Microservice
- toString() - Method in class cambio.simulator.entities.microservice.Operation
- toString() - Method in class cambio.simulator.events.ChaosMonkeyEvent
- toString() - Method in class cambio.simulator.events.SummonerMonkeyEvent
- toString() - Method in class cambio.simulator.export.MiSimReporter
- traceEnabled() - Method in class cambio.simulator.ExperimentStartupConfig
- travelingRequest - Variable in class cambio.simulator.entities.networking.NetworkRequestEvent
- trigger() - Method in interface cambio.simulator.entities.patterns.IPeriodicPattern
-
Manually triggers this patterns' routine.
- tryGetDescription(String, String) - Method in class cambio.simulator.ExperimentCreator
- tryLoadExistingFile(String) - Static method in class cambio.simulator.misc.FileUtilities
-
Tries to create a new
File
reference to the given path. - tryLoadExistingFile(Path) - Static method in class cambio.simulator.misc.FileUtilities
-
Tries to create a new
File
reference to the given path. - type - Variable in class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
- TypeNameAssociatedConfigurationData - Class in cambio.simulator.parsing
-
Represents the configuration data that relates to a specific type.
- TypeNameAssociatedConfigurationData(String, Map<String, Object>, TypeNameAssociatedConfigurationData) - Constructor for class cambio.simulator.parsing.TypeNameAssociatedConfigurationData
-
Creates a new
TypeNameAssociatedConfigurationData
based on the arguments.
U
- unpack() - Method in class cambio.simulator.entities.networking.RequestAnswer
-
Unpack the original Request that is answered by this Request.
- updateChildRequest(InternalRequest) - Method in class cambio.simulator.entities.networking.ServiceDependencyInstance
-
This method is used to overwrite the child request that was used to try to complete this dependency.
- updateListener - Variable in class cambio.simulator.entities.networking.NetworkRequestEvent
- updateListenerProxy - Variable in class cambio.simulator.entities.networking.RequestSender
-
Proxy that forwards events to all listeners while letting the event be consumable.
- updateMetaData(ExperimentMetaData) - Static method in class cambio.simulator.export.ExportUtils
-
Serializes the given
ExperimentMetaData
as "metadata.json" into the report folder given inExperimentMetaData.getReportLocation()
. - USER_REQUEST_AVG_REPORTER - Static variable in class cambio.simulator.export.MiSimReporters
- USER_REQUEST_REPORTER - Static variable in class cambio.simulator.export.MiSimReporters
- UserRequest - Class in cambio.simulator.entities.networking
-
A
Request
that represents a request that is created by a user from outside the simulated system. - UserRequest(Model, String, boolean, Operation) - Constructor for class cambio.simulator.entities.networking.UserRequest
- Util - Class in cambio.simulator.misc
-
Class that holds static utility methods.
- Util() - Constructor for class cambio.simulator.misc.Util
- UtilizationBalanceStrategy - Class in cambio.simulator.entities.patterns
-
Strategy that chooses the least utilized Microservice Instance by current relative Queue demand.
- UtilizationBalanceStrategy() - Constructor for class cambio.simulator.entities.patterns.UtilizationBalanceStrategy
V
- value() - Element in annotation interface cambio.simulator.parsing.JsonTypeName
-
Normal type name of class that represents it in a MiSim architecture or experiment description.
- valueOf(String) - Static method in enum class cambio.simulator.entities.microservice.InstanceState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cambio.simulator.entities.networking.RequestFailedReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cambio.simulator.entities.networking.RequestState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cambio.simulator.entities.patterns.CircuitBreakerState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cambio.simulator.entities.microservice.InstanceState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cambio.simulator.entities.networking.RequestFailedReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cambio.simulator.entities.networking.RequestState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cambio.simulator.entities.patterns.CircuitBreakerState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERY_HIGH - Static variable in class cambio.simulator.misc.Priority
- Very_LOW - Static variable in class cambio.simulator.misc.Priority
W
- waiting - Variable in class cambio.simulator.entities.microservice.MicroserviceInstance
- write(JsonWriter, LoadGeneratorDescriptionExecutor) - Method in class cambio.simulator.parsing.adapter.experiment.LoadGeneratorExecutorAdapter
- write(JsonWriter, Microservice) - Method in class cambio.simulator.parsing.adapter.architecture.MicroserviceAdapter
- write(JsonWriter, Operation) - Method in class cambio.simulator.parsing.adapter.architecture.OperationAdapter
- write(JsonWriter, DependencyDescription) - Method in class cambio.simulator.parsing.adapter.architecture.DependencyDescriptionAdapter
- write(JsonWriter, InstanceOwnedPatternConfiguration) - Method in class cambio.simulator.parsing.adapter.architecture.InstanceOwnedPatternConfigAdapter
- write(JsonWriter, ServiceOwnedPattern) - Method in class cambio.simulator.parsing.adapter.architecture.ServiceOwnedPatternAdapter
- write(JsonWriter, ExperimentAction) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentActionAdapter
- write(JsonWriter, ArchitectureModel) - Method in class cambio.simulator.parsing.adapter.architecture.ArchitectureModelAdapter
- write(JsonWriter, ExperimentMetaData) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentMetaDataAdapter
- write(JsonWriter, ExperimentModel) - Method in class cambio.simulator.parsing.adapter.experiment.ExperimentModelAdapter
- write(JsonWriter, ExperimentModel) - Method in class cambio.simulator.parsing.adapter.scenario.ScenarioDescriptionAdapter
- write(JsonWriter, ContDistNormal) - Method in class cambio.simulator.parsing.adapter.NormalDistributionAdapter
- write(JsonWriter, NumericalDist<Integer>) - Method in class cambio.simulator.parsing.adapter.DiscreteDistributionAdapter
- write(JsonWriter, TimeInstant) - Method in class cambio.simulator.parsing.adapter.TimeInstantAdapter
- write(JsonWriter, TimeSpan) - Method in class cambio.simulator.parsing.adapter.TimeSpanAdapter
- write(JsonWriter, File) - Method in class cambio.simulator.parsing.adapter.FileAdapter
- write(JsonWriter, Double) - Method in class cambio.simulator.parsing.adapter.DoubleWriteAdapter
- write(JsonWriter, LocalDateTime) - Method in class cambio.simulator.parsing.adapter.LocalDateTimeAdapter
- write(JsonWriter, T) - Method in class cambio.simulator.parsing.adapter.ConfigurableNamedTypeAdapter
- write(JsonWriter, T) - Method in class cambio.simulator.parsing.adapter.StrategyWrapperTypeAdapter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form