Uses of Class
cambio.simulator.entities.networking.Request
Packages that use Request
Package
Description
Contains user request generator definitions.
Classes that directly relate to microservices, like operations, instances or instance modification events.
Network behavior revolving around request sending, monitoring and receiving.
Contains implementations of resilience patterns.
CPU simulation classes.
- 
Uses of Request in cambio.simulator.entities.generatorMethods in cambio.simulator.entities.generator with parameters of type RequestModifier and TypeMethodDescriptionbooleanLoadGeneratorDescriptionExecutor.onRequestFailed(Request request, desmoj.core.simulator.TimeInstant when, RequestFailedReason reason) Listener for the failure of the sending process.booleanLoadGeneratorDescriptionExecutor.onRequestResultArrivedAtRequester(Request request, desmoj.core.simulator.TimeInstant when) Listener for the successful receiving of the answer of a request.
- 
Uses of Request in cambio.simulator.entities.microserviceFields in cambio.simulator.entities.microservice with type parameters of type RequestMethods in cambio.simulator.entities.microservice with parameters of type RequestModifier and TypeMethodDescriptionbooleanMicroserviceInstance.checkIfCanHandle(Request request) Checks whether this Instance can handle the Request.voidSubmits aRequestat this instance for handling.protected voidMicroserviceInstance.handleIncomingRequest(Request request) booleanMicroserviceInstance.onRequestArrivalAtTarget(Request request, desmoj.core.simulator.TimeInstant when) booleanMicroserviceInstance.onRequestFailed(Request request, desmoj.core.simulator.TimeInstant when, RequestFailedReason reason) booleanMicroserviceInstance.onRequestResultArrivedAtRequester(Request request, desmoj.core.simulator.TimeInstant when) booleanMicroserviceInstance.onRequestSend(Request request, desmoj.core.simulator.TimeInstant when) 
- 
Uses of Request in cambio.simulator.entities.networkingSubclasses of Request in cambio.simulator.entities.networkingModifier and TypeClassDescriptionclassRepresents aRequestbetween twoMicroserviceInstances.final classWrapper class to ease responding toRequests.classARequestthat represents a request that is created by a user from outside the simulated system.Fields in cambio.simulator.entities.networking declared as RequestMethods in cambio.simulator.entities.networking that return RequestModifier and TypeMethodDescriptionfinal RequestRequest.getParent()ServiceDependencyInstance.getParentRequest()NetworkRequestEvent.getTravelingRequest()RequestAnswer.unpack()Unpack the original Request that is answered by this Request.Methods in cambio.simulator.entities.networking with parameters of type RequestModifier and TypeMethodDescriptionAlternativeDependencyDescription.generateDependenciesForExecutions(Request request, Random random) DependencyDescription.generateDependenciesForExecutions(Request request, Random random) Evaluates dependency and its descendants to generate a concrete order of dependency executions.LoopDependencyDescription.generateDependenciesForExecutions(Request request, Random random) SimpleDependencyDescription.generateDependenciesForExecutions(Request request, Random random) Request.getRelatedDependency(Request request) Gets theServiceDependencyInstancethat should be completed by the given request.default booleanIRequestUpdateListener.onRequestArrivalAtTarget(Request request, desmoj.core.simulator.TimeInstant when) Listener for the successful completion of the sending process.default booleanIRequestUpdateListener.onRequestFailed(Request request, desmoj.core.simulator.TimeInstant when, RequestFailedReason reason) Listener for the failure of the sending process.booleanNetworkRequestTimeoutEvent.onRequestFailed(Request request, desmoj.core.simulator.TimeInstant when, RequestFailedReason reason) default booleanIRequestUpdateListener.onRequestResultArrivedAtRequester(Request request, desmoj.core.simulator.TimeInstant when) Listener for the successful receiving of the answer of a request.booleanNetworkRequestTimeoutEvent.onRequestResultArrivedAtRequester(Request request, desmoj.core.simulator.TimeInstant when) default booleanIRequestUpdateListener.onRequestSend(Request request, desmoj.core.simulator.TimeInstant when) Listener for the send-off of a request.final NetworkRequestSendEventRequestSender.sendRequest(String eventName, Request request, Microservice target) Starts a RequestSendingProcess.final NetworkRequestSendEventRequestSender.sendRequest(String eventName, Request request, MicroserviceInstance target) Starts a RequestSendingProcess.final NetworkRequestSendEventRequestSender.sendRequest(String eventName, Request request, MicroserviceInstance target, desmoj.core.simulator.TimeSpan delay) Starts a RequestSendingProcess.final NetworkRequestSendEventRequestSender.sendRequest(String eventName, Request request, Microservice target, desmoj.core.simulator.TimeSpan delay) Starts a RequestSendingProcess.Constructors in cambio.simulator.entities.networking with parameters of type RequestModifierConstructorDescriptionNetworkRequestCanceledEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, RequestFailedReason reason) NetworkRequestCanceledEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, RequestFailedReason reason, String details) Creates an event that notifiesIRequestUpdateListeners of the failing of a request.NetworkRequestEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request travelingRequest) Common constructor that enforces the association of a request with an External Event.NetworkRequestReceiveEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request travelingRequest, MicroserviceInstance receiver) NetworkRequestSendEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, Microservice target) NetworkRequestSendEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request, MicroserviceInstance target) NetworkRequestTimeoutEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request request) Constructs and schedules a timeout of a request.protectedRequest(desmoj.core.simulator.Model model, String name, boolean showInTrace, Request parent, Operation operation, MicroserviceInstance requester) RequestAnswer(Request wrappedRequest, MicroserviceInstance answerSender) Constructs a newRequestAnswer.ServiceDependencyInstance(desmoj.core.simulator.Model model, Request parentRequest, Operation targetOp, SimpleDependencyDescription dependencyDescription) Creates an actual instance of aSimpleDependencyDescription.
- 
Uses of Request in cambio.simulator.entities.patternsMethods in cambio.simulator.entities.patterns with parameters of type RequestModifier and TypeMethodDescriptionbooleanRetry.onRequestArrivalAtTarget(Request request, desmoj.core.simulator.TimeInstant when) booleanCircuitBreaker.onRequestFailed(Request request, desmoj.core.simulator.TimeInstant when, RequestFailedReason reason) booleanRetry.onRequestFailed(Request request, desmoj.core.simulator.TimeInstant when, RequestFailedReason reason) booleanCircuitBreaker.onRequestResultArrivedAtRequester(Request request, desmoj.core.simulator.TimeInstant when) booleanRetry.onRequestResultArrivedAtRequester(Request request, desmoj.core.simulator.TimeInstant when) booleanCircuitBreaker.onRequestSend(Request request, desmoj.core.simulator.TimeInstant when) booleanRetry.onRequestSend(Request request, desmoj.core.simulator.TimeInstant when) 
- 
Uses of Request in cambio.simulator.resources.cpuMethods in cambio.simulator.resources.cpu that return RequestMethods in cambio.simulator.resources.cpu with parameters of type RequestConstructors in cambio.simulator.resources.cpu with parameters of type RequestModifierConstructorDescriptionCPUProcess(Request request) Creates aCPUProcessfor the givenRequest.