Advances, Systems and Applications
Component | Id | Method | Description |
---|---|---|---|
UserGeneration | 1 | initialise | Initialises the user generation module. |
UserGeneration | 2 | generateShuffledUsers | Generates a users workload with a random order. |
UserGeneration | 3 | getNextUser | Obtains the next user to be processed. |
UserGeneration | 4 | sendRequest | Sends a VM request to the cloud provider. |
UserGeneration | 5 | subscribe | Sends a subscription request to the cloud provider. |
UserGeneration | 6 | createVmRequest | Creates a VM request for a specific user. |
UserGeneration | 7 | handleResponseVmAccept | Handles the accept response of the cloud provider to a specific VM request. |
UserGeneration | 8 | handleResponseVmReject | Handles the reject response of the cloud provider to a specific VM request. |
UserGeneration | 9 | updateVmUserStatus | Updates the status of a specific VM. |
UserGeneration | 10 | submitService | Submits a service to be executed in the cloud. |
UserGeneration | 11 | createAppRequest | Generates a request for the execution of an application. |
UserGeneration | 12 | handleResponseAppAccept | Handles an accept response sent by the cloud provider for the execution of a specific application. |
UserGeneration | 13 | handleResponseAppReject | Handles a reject response sent by the cloud provider for the execution of a specific application. |
UserGeneration | 14 | handleResponseAppTimeout | Handles a timeout response sent by the cloud provider for the execution of a specific application. |
UserGeneration | 15 | calculateStatistics | Generates a report with the statistics obtained during the simulation. |
CloudProvider | 16 | initialise | Initialises the cloud provider module. |
CloudProvider | 17 | checkVmUserFit | Checks whether the VMs requested by a user fits in a data-centre and sends the request to it. |
CloudProvider | 18 | updateSubsQueue | Updates the subscription queue. |
CloudProvider | 19 | notifySubscription | Notifies users that the system is ready to receive their service submissions. |
CloudProvider | 20 | timeoutSubscription | Notifies users that their subscription time has expired. |
CloudProvider | 21 | handleUserAppRequest | Forwards the request for the execution of an application to the data-centre. |
DataCentreManager | 22 | initialise | Initialises the data-centre manager module. |
DataCentreManager | 23 | checkVmUserFit | Checks whether the VMs requested by a user fits in the system. |
DataCentreManager | 24 | getTotalCoresByVmType | Returns all the computational cores required by a VM type. |
DataCentreManager | 25 | acceptVmRequest | Accepts a VM request. |
DataCentreManager | 26 | rejectVmRequest | Rejects a request for the execution of an application. |
DataCentreManager | 27 | allocateVM | Allocates a VM in the cloud. |
DataCentreManager | 28 | handleUserAppRequest | Handles the request for the execution of an application sent by a specific user. |
DataCentreManager | 29 | acceptAppRequest | Accepts a request for the execution of an application. |
DataCentreManager | 30 | rejectAppRequest | Rejects a request for the execution of an application. |
DataCentreManager | 31 | timeoutAppRequest | Notifies the user that the time for the execution of an application has expired. |