GridSim 5.0 beta

gridsim
Class GridSimTags

Object
  extended by GridSimTags

public class GridSimTags
extends Object

Contains various static command tags that indicate a type of action that needs to be undertaken by GridSim entities when they receive or send events.
NOTE: To avoid conflicts with other tags, GridSim reserves negative numbers, 0 - 299, and 9600.

Since:
GridSim Toolkit 1.0
Author:
Manzur Murshed and Rajkumar Buyya, Anthony Sulistio
Invariant:
$none

Field Summary
static int AR_CANCEL_ERROR
          Cancellation of a reservation fails due to unknown error.
static int AR_CANCEL_ERROR_RESOURCE_CANT_SUPPORT
          Cancellation of a reservation fails since a resource can not support Advance Reservation functionalities.
static int AR_CANCEL_FAIL
          Cancellation of a reservation fails.
static int AR_CANCEL_FAIL_GRIDLET_FINISHED
          Cancellation of a reservation fails due to finished Gridlets.
static int AR_CANCEL_FAIL_INVALID_BOOKING_ID
          Cancellation of a reservation fails due to invalid booking ID.
static int AR_CANCEL_SUCCESS
          Cancellation of a reservation is successful.
static int AR_COMMIT_ERROR
          Committing a reservation is failed due to unknown error.
static int AR_COMMIT_ERROR_RESOURCE_CANT_SUPPORT
          Committing a reservation is failed due to a resource does not support Advance Reservation functionalities.
static int AR_COMMIT_FAIL
          Committing a reservation is failed.
static int AR_COMMIT_FAIL_EXPIRED
          Committing a reservation is failed due to expiry.
static int AR_COMMIT_FAIL_INVALID_BOOKING_ID
          Committing a reservation is failed due to invalid booking ID.
static int AR_COMMIT_SUCCESS
          Committing a reservation is successful.
static int AR_CREATE_ERROR
          New request of a reservation fails due to unknown error.
static int AR_CREATE_ERROR_INVALID_DURATION_TIME
          New request of a reservation fails due to invalid duration time.
static int AR_CREATE_ERROR_INVALID_END_TIME
          New request of a reservation fails due to invalid end time.
static int AR_CREATE_ERROR_INVALID_NUM_PE
          New request of a reservation fails due to invalid number of PEs requested.
static int AR_CREATE_ERROR_INVALID_RESOURCE_ID
          New request of a reservation fails due to invalid resource ID.
static int AR_CREATE_ERROR_INVALID_RESOURCE_NAME
          New request of a reservation fails due to invalid resource name.
static int AR_CREATE_ERROR_INVALID_START_TIME
          New request of a reservation fails due to invalid start time.
static int AR_CREATE_FAIL_RESOURCE_CANT_SUPPORT
          New request of a reservation fails due to a resource that can not support Advance Reservation functionalities.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_1_HOUR
          New request of a reservation fails due to a resource full in 1 hour.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_1_MIN
          New request of a reservation fails due to a resource full in 1 minute.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_1_SEC
          New request of a reservation fails due to a resource full in 1 second.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_10_HOURS
          New request of a reservation fails due to a resource full in 10 hours.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_10_MINS
          New request of a reservation fails due to a resource full in 10 minutes.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_10_SECS
          New request of a reservation fails due to a resource full in 10 seconds.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_15_HOURS
          New request of a reservation fails due to a resource full in 15 hours.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_15_MINS
          New request of a reservation fails due to a resource full in 15 minutes.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_15_SECS
          New request of a reservation fails due to a resource full in 15 seconds.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_30_HOURS
          New request of a reservation fails due to a resource full in 30 hours.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_30_MINS
          New request of a reservation fails due to a resource full in 30 minutes.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_30_SECS
          New request of a reservation fails due to a resource full in 30 seconds.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_HOURS
          New request of a reservation fails due to a resource full in 45 hours onwards.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_MINS
          New request of a reservation fails due to a resource full in 45 minutes.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_SECS
          New request of a reservation fails due to a resource full in 45 seconds.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_5_HOURS
          New request of a reservation fails due to a resource full in 5 hours.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_5_MINS
          New request of a reservation fails due to a resource full in 5 minutes.
static int AR_CREATE_FAIL_RESOURCE_FULL_IN_5_SECS
          New request of a reservation fails due to a resource full in 5 seconds.
static int AR_CREATE_FAIL_RESOURCE_NOT_ENOUGH_PE
          New request of a reservation fails due to not enough PEs.
static int AR_MODIFY_ERROR
          Modification of a reservation fails due to unknown error.
static int AR_MODIFY_FAIL_INVALID_BOOKING_ID
          Modification of a reservation fails due to invalid booking ID.
static int AR_MODIFY_FAIL_INVALID_END_TIME
          Modification of a reservation fails due to invalid end time.
static int AR_MODIFY_FAIL_INVALID_NUM_PE
          Modification of a reservation fails due to invalid number of PEs requested.
static int AR_MODIFY_FAIL_INVALID_START_TIME
          Modification of a reservation fails due to invalid start time.
static int AR_MODIFY_FAIL_RESERVATION_ACTIVE
          Modification of a reservation fails since it is in active state.
static int AR_MODIFY_FAIL_RESOURCE_CANT_SUPPORT
          Modification of a reservation fails due to a resource that can not support Advance Reservation functionalities.
static int AR_MODIFY_SUCCESS
          Modification of a reservation is successfull.
static int AR_STATUS_ACTIVE
          The reservation has begun and is currently being executed by a destinated GridResource entity.
static int AR_STATUS_CANCELED
          The reservation has been canceled before activation.
static int AR_STATUS_COMPLETED
          The reservation has been completed.
static int AR_STATUS_ERROR
          Unknown error happens.
static int AR_STATUS_ERROR_INVALID_BOOKING_ID
          The reservation booking ID is invalid.
static int AR_STATUS_EXPIRED
          The reservation has passed its expiry time before being committed.
static int AR_STATUS_NOT_COMMITTED
          The reservation has been accepted by a resource, but not yet been committed by a user.
static int AR_STATUS_NOT_STARTED
          The reservation has not yet begun, i.e.
static int AR_STATUS_RESERVATION_DOESNT_EXIST
          The reservation booking ID does not exist.
static int AR_STATUS_TERMINATED
          The reservation has been canceled by a user during execution or active session.
static int DEFAULT_BAUD_RATE
          Denotes the default baud rate for some GridSim entities
static int EMPTY_PKT
          Denotes that this packet is empty.
static int END_OF_SIMULATION
          Denotes the end of simulation
static int EXPERIMENT
          Sends an Experiment object between UserEntity and Broker entity
static int FALSE
          Denotes boolean false in int value
static int FLOW_ACK
           
static int FLOW_HOLD
           
static int FLOW_SUBMIT
           
static int FLOW_UPDATE
           
static int FNB_ARED
          This is to simulate the finite buffers.
static int FNB_COUNT_DROPPED_PKTS
          This is to simulate the finite buffers.
static double FNB_DROPPING_DELAY
          When a router drops a packet, it has to tell to a user.
static int FNB_FIFO
          This is to simulate the finite buffers.
static int FNB_FILE_FAILED_BECAUSE_PACKET_DROPPED
          This is to simulate the finite buffers.
static int FNB_FILE_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED
          This is to simulate the finite buffers.
static int FNB_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED
          This is to simulate the finite buffers.
static int FNB_PACKET_DROPPED
          This is to simulate the finite buffers.
static int FNB_PKT_CONTAINS_FILE
          This is to identify when a packet contains a file.
static int FNB_RED
          This is to simulate the finite buffers.
static int FNB_UPDATE_ARED_PARAMETERS
          This is to update the parameters of ARED.
static double FNB_UPDATE_ARED_PARAMETERS_PERIOD
          This is to update the parameters of ARED.
static int GRIDLET_CANCEL
          Cancels a Gridlet submitted in the GridResource entity.
static int GRIDLET_MOVE
          Moves a Gridlet to another GridResource entity.
static int GRIDLET_MOVE_ACK
          Moves a Gridlet to another GridResource entity with an acknowledgement.
static int GRIDLET_PAUSE
          Pauses a Gridlet submitted in the GridResource entity.
static int GRIDLET_PAUSE_ACK
          Pauses a Gridlet submitted in the GridResource entity with an acknowledgement.
static int GRIDLET_RESUME
          Resumes a Gridlet submitted in the GridResource entity.
static int GRIDLET_RESUME_ACK
          Resumes a Gridlet submitted in the GridResource entity with an acknowledgement.
static int GRIDLET_RETURN
          Denotes the return of a Gridlet back to sender.
static int GRIDLET_STATUS
          Denotes the status of a Gridlet.
static int GRIDLET_SUBMIT
          Denotes the submission of a Gridlet.
static int GRIDLET_SUBMIT_ACK
          Denotes the submission of a Gridlet with an acknowledgement.
static int GRIDRESOURCE_FAILURE
          This tag is used to simulate a resource failure.
static int GRIDRESOURCE_FAILURE_INFO
          This tag is used by a user to poll a resource to find out whether it is out of order or not.
static int GRIDRESOURCE_POLLING
          This tag is used by a user to poll a resource.
static int GRIDRESOURCE_RECOVERY
          This tag is used to tell a resource, which is currently failed or down, to come back to life.
static int INFOPKT_RETURN
          This tag is used to return the ping request back to sender
static int INFOPKT_SUBMIT
          This tag is used by an entity to send ping requests
static int INSIGNIFICANT
          Denotes insignificant simulation entity or time.
static int JUNK_PKT
          This tag is used to identify a packet as a junk packet used for background traffic
static int NET_BUFFER_PACKET_LEVEL
           
static int NET_FLOW_LEVEL
           
static int NET_PACKET_LEVEL
           
static int PKT_FORWARD
          All NetPackets are routed through the network with this tag.
static int POLLING_TIME_GIS
          The polling interval for the GIS entities.
static int POLLING_TIME_USER
          The polling interval for users.
static int RECORD_STATISTICS
          Denotes a request to record events for statistical purposes.
static int REGISTER_LINK
          Signal used by Entities to connect to Routers using a link.
static int REGISTER_REGIONAL_GIS
          Denotes a request to register a GridResource entity to a regional GridInformationService (GIS) entity
static int REGISTER_RESOURCE
          Denotes a grid resource to be registered.
static int REGISTER_RESOURCE_AR
          Denotes a grid resource, that can support advance reservation, to be registered.
static int REGISTER_ROUTER
          This is used by a router when it wants to connect with another router.
static int REQUEST_REGIONAL_GIS
          Denotes a request to get a list of other regional GIS entities from the system GIS entity
static int RESOURCE_AR_LIST
          Denotes a list of resources that only support advance reservation.
static int RESOURCE_CHARACTERISTICS
          Denotes grid resource characteristics information.
static int RESOURCE_DYNAMICS
          Denotes grid resource allocation policy.
static int RESOURCE_LIST
          Denotes a list of all resources, including the ones that can support advance reservation.
static int RESOURCE_NUM_FREE_PE
          Denotes a request to get the total number of free Processing Elements (PEs) of a resource.
static int RESOURCE_NUM_MACHINES
          Denotes a request to get the total number of machines of a resource.
static int RESOURCE_NUM_PE
          Denotes a request to get the total number of Processing Elements (PEs) of a resource.
static int RETURN_ACC_STATISTICS_BY_CATEGORY
          Denotes a request to send an Accumulator object based on category into an event scheduler.
static int RETURN_AR_CANCEL
          Denotes a return tag from GridResource to User entity for sending the result of cancelling a reservation
static int RETURN_AR_COMMIT
          Denotes a return tag from GridResource to User entity for sending the result of committing a reservation back.
static int RETURN_AR_CREATE
          Denotes a return tag from GridResource to User entity for sending the result of requesting or creating a new reservation
static int RETURN_AR_MODIFY
          Denotes a return tag from GridResource to User entity for sending the result of modifying a reservation
static int RETURN_AR_QUERY_STATUS
          Denotes a return tag from GridResource to User entity for sending the result of a reservation status
static int RETURN_AR_QUERY_TIME
          Denotes a return tag from GridResource to User entity for sending the result of query free or busy time of a reservation
static int RETURN_STAT_LIST
          Denotes a request to get a statistical list.
static int ROUTER_AD
          This is used by Routers to send route advertisements.
static double SCHEDULE_NOW
          Schedules an entity without any delay
static int SCHEDULER_DEQUE
          Denotes that this packet will be sent by a packet scheduler to a router for dequeing.
static int SCHEDULER_ENQUE
          Denotes that this packet will be sent to a packet scheduler by a router for enqueing.
static int SEND_AR_CANCEL
          Cancels an existing reservation.
static int SEND_AR_COMMIT_ONLY
          Commits a reservation without any Gridlets attached.
static int SEND_AR_COMMIT_WITH_GRIDLET
          Commits a reservation with one or more Gridlets attached.
static int SEND_AR_CREATE
          Requests for a new advanced reservation.
static int SEND_AR_CREATE_IMMEDIATE
          Requests for a new immediate reservation.
static int SEND_AR_LIST_BUSY_TIME
          Requests a list of busy time of a resource.
static int SEND_AR_LIST_FREE_TIME
          Requests a list of free or empty time of a resource.
static int SEND_AR_MODIFY
          Modifies an existing reservation.
static int SEND_AR_QUERY
          Queries the current status of a reservation.
static int SEND_PACKET
          This tag is used by Output class to time its packet sendings.
static int TRUE
          Denotes boolean true in int value
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final int TRUE
Denotes boolean true in int value

See Also:
Constant Field Values

FALSE

public static final int FALSE
Denotes boolean false in int value

See Also:
Constant Field Values

DEFAULT_BAUD_RATE

public static final int DEFAULT_BAUD_RATE
Denotes the default baud rate for some GridSim entities

See Also:
Constant Field Values

SCHEDULE_NOW

public static final double SCHEDULE_NOW
Schedules an entity without any delay

See Also:
Constant Field Values

END_OF_SIMULATION

public static final int END_OF_SIMULATION
Denotes the end of simulation

See Also:
Constant Field Values

INSIGNIFICANT

public static final int INSIGNIFICANT
Denotes insignificant simulation entity or time. This tag will not be used for identification purposes.

See Also:
Constant Field Values

EXPERIMENT

public static final int EXPERIMENT
Sends an Experiment object between UserEntity and Broker entity

See Also:
Constant Field Values

REGISTER_RESOURCE

public static final int REGISTER_RESOURCE
Denotes a grid resource to be registered. This tag is normally used between GridInformationService and GridResouce entity.

See Also:
Constant Field Values

REGISTER_RESOURCE_AR

public static final int REGISTER_RESOURCE_AR
Denotes a grid resource, that can support advance reservation, to be registered. This tag is normally used between GridInformationService and GridResouce entity.

See Also:
Constant Field Values

RESOURCE_LIST

public static final int RESOURCE_LIST
Denotes a list of all resources, including the ones that can support advance reservation. This tag is normally used between GridInformationService and GridSim entity.

See Also:
Constant Field Values

RESOURCE_AR_LIST

public static final int RESOURCE_AR_LIST
Denotes a list of resources that only support advance reservation. This tag is normally used between GridInformationService and GridSim entity.

See Also:
Constant Field Values

RESOURCE_CHARACTERISTICS

public static final int RESOURCE_CHARACTERISTICS
Denotes grid resource characteristics information. This tag is normally used between GridSim and GridResource entity.

See Also:
Constant Field Values

RESOURCE_DYNAMICS

public static final int RESOURCE_DYNAMICS
Denotes grid resource allocation policy. This tag is normally used between GridSim and GridResource entity.

See Also:
Constant Field Values

RESOURCE_NUM_PE

public static final int RESOURCE_NUM_PE
Denotes a request to get the total number of Processing Elements (PEs) of a resource. This tag is normally used between GridSim and GridResource entity.

See Also:
Constant Field Values

RESOURCE_NUM_FREE_PE

public static final int RESOURCE_NUM_FREE_PE
Denotes a request to get the total number of free Processing Elements (PEs) of a resource. This tag is normally used between GridSim and GridResource entity.

See Also:
Constant Field Values

RECORD_STATISTICS

public static final int RECORD_STATISTICS
Denotes a request to record events for statistical purposes. This tag is normally used between GridSim and GridStatistics entity.

See Also:
Constant Field Values

RETURN_STAT_LIST

public static final int RETURN_STAT_LIST
Denotes a request to get a statistical list.

See Also:
Constant Field Values

RETURN_ACC_STATISTICS_BY_CATEGORY

public static final int RETURN_ACC_STATISTICS_BY_CATEGORY
Denotes a request to send an Accumulator object based on category into an event scheduler. This tag is normally used between ReportWriter and GridStatistics entity.

See Also:
Constant Field Values

REGISTER_REGIONAL_GIS

public static final int REGISTER_REGIONAL_GIS
Denotes a request to register a GridResource entity to a regional GridInformationService (GIS) entity

See Also:
Constant Field Values

REQUEST_REGIONAL_GIS

public static final int REQUEST_REGIONAL_GIS
Denotes a request to get a list of other regional GIS entities from the system GIS entity

See Also:
Constant Field Values

REGISTER_LINK

public static final int REGISTER_LINK
Signal used by Entities to connect to Routers using a link.

See Also:
Constant Field Values

REGISTER_ROUTER

public static final int REGISTER_ROUTER
This is used by a router when it wants to connect with another router.

See Also:
Constant Field Values

PKT_FORWARD

public static final int PKT_FORWARD
All NetPackets are routed through the network with this tag.

See Also:
Constant Field Values

ROUTER_AD

public static final int ROUTER_AD
This is used by Routers to send route advertisements.

See Also:
Constant Field Values

SEND_PACKET

public static final int SEND_PACKET
This tag is used by Output class to time its packet sendings.

See Also:
Constant Field Values

INFOPKT_SUBMIT

public static final int INFOPKT_SUBMIT
This tag is used by an entity to send ping requests

See Also:
Constant Field Values

INFOPKT_RETURN

public static final int INFOPKT_RETURN
This tag is used to return the ping request back to sender

See Also:
Constant Field Values

JUNK_PKT

public static final int JUNK_PKT
This tag is used to identify a packet as a junk packet used for background traffic

See Also:
Constant Field Values

EMPTY_PKT

public static final int EMPTY_PKT
Denotes that this packet is empty. This tag is used internally by Input and Output entities.

See Also:
Constant Field Values

SCHEDULER_ENQUE

public static final int SCHEDULER_ENQUE
Denotes that this packet will be sent to a packet scheduler by a router for enqueing. This tag is used by a router to an active packet scheduler, such as the RateControlledScheduler entity.

See Also:
Constant Field Values

SCHEDULER_DEQUE

public static final int SCHEDULER_DEQUE
Denotes that this packet will be sent by a packet scheduler to a router for dequeing. This tag is used by an active packet scheduler, such as the RateControlledScheduler entity to a router.

See Also:
Constant Field Values

NET_PACKET_LEVEL

public static final int NET_PACKET_LEVEL
See Also:
Constant Field Values

NET_FLOW_LEVEL

public static final int NET_FLOW_LEVEL
See Also:
Constant Field Values

NET_BUFFER_PACKET_LEVEL

public static final int NET_BUFFER_PACKET_LEVEL
See Also:
Constant Field Values

FLOW_SUBMIT

public static final int FLOW_SUBMIT
See Also:
Constant Field Values

FLOW_HOLD

public static final int FLOW_HOLD
See Also:
Constant Field Values

FLOW_UPDATE

public static final int FLOW_UPDATE
See Also:
Constant Field Values

FLOW_ACK

public static final int FLOW_ACK
See Also:
Constant Field Values

FNB_PACKET_DROPPED

public static final int FNB_PACKET_DROPPED
This is to simulate the finite buffers. This constant is to tell an entity that a packet has been dropped.

See Also:
Constant Field Values

FNB_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED

public static final int FNB_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED
This is to simulate the finite buffers. This constant is used when an Output port tells a user that a gridlet has failed because its (Gridlet) packets has been dropped.

See Also:
Constant Field Values

FNB_FIFO

public static final int FNB_FIFO
This is to simulate the finite buffers. A FIFO dropping algorithm.

See Also:
Constant Field Values

FNB_RED

public static final int FNB_RED
This is to simulate the finite buffers. A RED (Random Early Detection) dropping algorithm.

See Also:
Constant Field Values

FNB_COUNT_DROPPED_PKTS

public static final int FNB_COUNT_DROPPED_PKTS
This is to simulate the finite buffers. The event used to capture the number of dropped packets. This event is sent form a SCFScheduler to itself every T time.

See Also:
Constant Field Values

FNB_ARED

public static final int FNB_ARED
This is to simulate the finite buffers. Adaptative RED (Random Early Detection) dropping algorithm.

See Also:
Constant Field Values

FNB_UPDATE_ARED_PARAMETERS

public static final int FNB_UPDATE_ARED_PARAMETERS
This is to update the parameters of ARED.

See Also:
Constant Field Values

FNB_FILE_FAILED_BECAUSE_PACKET_DROPPED

public static final int FNB_FILE_FAILED_BECAUSE_PACKET_DROPPED
This is to simulate the finite buffers. This constant is used when an Output port tells a user that a file has failed because its (File) packets has been dropped.

See Also:
Constant Field Values

FNB_FILE_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED

public static final int FNB_FILE_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED
This is to simulate the finite buffers. This constant is used when an Output port tells a user that a file and a gridlet have failed because their (File and Gridlet) packets has been dropped.

See Also:
Constant Field Values

FNB_PKT_CONTAINS_FILE

public static final int FNB_PKT_CONTAINS_FILE
This is to identify when a packet contains a file.

See Also:
Constant Field Values

FNB_UPDATE_ARED_PARAMETERS_PERIOD

public static final double FNB_UPDATE_ARED_PARAMETERS_PERIOD
This is to update the parameters of ARED. The time period between updates (0.5 seconds).

See Also:
Constant Field Values

FNB_DROPPING_DELAY

public static final double FNB_DROPPING_DELAY
When a router drops a packet, it has to tell to a user. But the router does not notify immediately (when the dropping ocurs), but with a given delay (this delay).

See Also:
Constant Field Values

GRIDLET_RETURN

public static final int GRIDLET_RETURN
Denotes the return of a Gridlet back to sender. This tag is normally used by GridResource entity.

See Also:
Constant Field Values

GRIDLET_SUBMIT

public static final int GRIDLET_SUBMIT
Denotes the submission of a Gridlet. This tag is normally used between GridSim User and GridResource entity.

See Also:
Constant Field Values

GRIDLET_SUBMIT_ACK

public static final int GRIDLET_SUBMIT_ACK
Denotes the submission of a Gridlet with an acknowledgement. This tag is normally used between GridSim User and GridResource entity.

See Also:
Constant Field Values

GRIDLET_CANCEL

public static final int GRIDLET_CANCEL
Cancels a Gridlet submitted in the GridResource entity.

See Also:
Constant Field Values

GRIDLET_STATUS

public static final int GRIDLET_STATUS
Denotes the status of a Gridlet.

See Also:
Constant Field Values

GRIDLET_PAUSE

public static final int GRIDLET_PAUSE
Pauses a Gridlet submitted in the GridResource entity.

See Also:
Constant Field Values

GRIDLET_PAUSE_ACK

public static final int GRIDLET_PAUSE_ACK
Pauses a Gridlet submitted in the GridResource entity with an acknowledgement.

See Also:
Constant Field Values

GRIDLET_RESUME

public static final int GRIDLET_RESUME
Resumes a Gridlet submitted in the GridResource entity.

See Also:
Constant Field Values

GRIDLET_RESUME_ACK

public static final int GRIDLET_RESUME_ACK
Resumes a Gridlet submitted in the GridResource entity with an acknowledgement.

See Also:
Constant Field Values

GRIDLET_MOVE

public static final int GRIDLET_MOVE
Moves a Gridlet to another GridResource entity.

See Also:
Constant Field Values

GRIDLET_MOVE_ACK

public static final int GRIDLET_MOVE_ACK
Moves a Gridlet to another GridResource entity with an acknowledgement.

See Also:
Constant Field Values

RESOURCE_NUM_MACHINES

public static final int RESOURCE_NUM_MACHINES
Denotes a request to get the total number of machines of a resource. This tag is normally used between GridSim and GridResource entity.

See Also:
Constant Field Values

GRIDRESOURCE_FAILURE

public static final int GRIDRESOURCE_FAILURE
This tag is used to simulate a resource failure. A RegionalGIS object sends an event to itself by using this tag, so it can send a failure message to resources in the future. This tag is also used when a failed resource receives a ping request. In this case, the resource will use this tag in the ping response.

See Also:
Constant Field Values

GRIDRESOURCE_RECOVERY

public static final int GRIDRESOURCE_RECOVERY
This tag is used to tell a resource, which is currently failed or down, to come back to life.

See Also:
Constant Field Values

GRIDRESOURCE_FAILURE_INFO

public static final int GRIDRESOURCE_FAILURE_INFO
This tag is used by a user to poll a resource to find out whether it is out of order or not.

See Also:
Constant Field Values

GRIDRESOURCE_POLLING

public static final int GRIDRESOURCE_POLLING
This tag is used by a user to poll a resource.

See Also:
Constant Field Values

POLLING_TIME_USER

public static final int POLLING_TIME_USER
The polling interval for users.

See Also:
Constant Field Values

POLLING_TIME_GIS

public static final int POLLING_TIME_GIS
The polling interval for the GIS entities.

See Also:
Constant Field Values

SEND_AR_COMMIT_ONLY

public static final int SEND_AR_COMMIT_ONLY
Commits a reservation without any Gridlets attached. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_COMMIT_WITH_GRIDLET

public static final int SEND_AR_COMMIT_WITH_GRIDLET
Commits a reservation with one or more Gridlets attached. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_CREATE

public static final int SEND_AR_CREATE
Requests for a new advanced reservation. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_CREATE_IMMEDIATE

public static final int SEND_AR_CREATE_IMMEDIATE
Requests for a new immediate reservation. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_CANCEL

public static final int SEND_AR_CANCEL
Cancels an existing reservation. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_LIST_BUSY_TIME

public static final int SEND_AR_LIST_BUSY_TIME
Requests a list of busy time of a resource. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_LIST_FREE_TIME

public static final int SEND_AR_LIST_FREE_TIME
Requests a list of free or empty time of a resource. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_QUERY

public static final int SEND_AR_QUERY
Queries the current status of a reservation. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

SEND_AR_MODIFY

public static final int SEND_AR_MODIFY
Modifies an existing reservation. This tag is sent by AdvanceReservation to ARGridResource class.

See Also:
Constant Field Values

AR_STATUS_NOT_STARTED

public static final int AR_STATUS_NOT_STARTED
The reservation has not yet begun, i.e. the current simulation time is before the start time. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_NOT_COMMITTED

public static final int AR_STATUS_NOT_COMMITTED
The reservation has been accepted by a resource, but not yet been committed by a user. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_TERMINATED

public static final int AR_STATUS_TERMINATED
The reservation has been canceled by a user during execution or active session. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_ACTIVE

public static final int AR_STATUS_ACTIVE
The reservation has begun and is currently being executed by a destinated GridResource entity. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_COMPLETED

public static final int AR_STATUS_COMPLETED
The reservation has been completed. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_CANCELED

public static final int AR_STATUS_CANCELED
The reservation has been canceled before activation. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_EXPIRED

public static final int AR_STATUS_EXPIRED
The reservation has passed its expiry time before being committed. Hence, a resource will not execute this reservation. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_ERROR_INVALID_BOOKING_ID

public static final int AR_STATUS_ERROR_INVALID_BOOKING_ID
The reservation booking ID is invalid. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_RESERVATION_DOESNT_EXIST

public static final int AR_STATUS_RESERVATION_DOESNT_EXIST
The reservation booking ID does not exist. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_STATUS_ERROR

public static final int AR_STATUS_ERROR
Unknown error happens. This tag is sent by a resource or allocation policy to AdvanceReservation class.

See Also:
Constant Field Values

AR_CANCEL_FAIL

public static final int AR_CANCEL_FAIL
Cancellation of a reservation fails. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CANCEL_FAIL_INVALID_BOOKING_ID

public static final int AR_CANCEL_FAIL_INVALID_BOOKING_ID
Cancellation of a reservation fails due to invalid booking ID. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CANCEL_FAIL_GRIDLET_FINISHED

public static final int AR_CANCEL_FAIL_GRIDLET_FINISHED
Cancellation of a reservation fails due to finished Gridlets. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CANCEL_SUCCESS

public static final int AR_CANCEL_SUCCESS
Cancellation of a reservation is successful. It could also means a reservation has expired or completed. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CANCEL_ERROR_RESOURCE_CANT_SUPPORT

public static final int AR_CANCEL_ERROR_RESOURCE_CANT_SUPPORT
Cancellation of a reservation fails since a resource can not support Advance Reservation functionalities. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CANCEL_ERROR

public static final int AR_CANCEL_ERROR
Cancellation of a reservation fails due to unknown error. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_COMMIT_SUCCESS

public static final int AR_COMMIT_SUCCESS
Committing a reservation is successful. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_COMMIT_FAIL

public static final int AR_COMMIT_FAIL
Committing a reservation is failed. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_COMMIT_FAIL_EXPIRED

public static final int AR_COMMIT_FAIL_EXPIRED
Committing a reservation is failed due to expiry. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_COMMIT_FAIL_INVALID_BOOKING_ID

public static final int AR_COMMIT_FAIL_INVALID_BOOKING_ID
Committing a reservation is failed due to invalid booking ID. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_COMMIT_ERROR_RESOURCE_CANT_SUPPORT

public static final int AR_COMMIT_ERROR_RESOURCE_CANT_SUPPORT
Committing a reservation is failed due to a resource does not support Advance Reservation functionalities. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_COMMIT_ERROR

public static final int AR_COMMIT_ERROR
Committing a reservation is failed due to unknown error. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_FAIL_INVALID_BOOKING_ID

public static final int AR_MODIFY_FAIL_INVALID_BOOKING_ID
Modification of a reservation fails due to invalid booking ID. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_FAIL_RESERVATION_ACTIVE

public static final int AR_MODIFY_FAIL_RESERVATION_ACTIVE
Modification of a reservation fails since it is in active state. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_FAIL_INVALID_START_TIME

public static final int AR_MODIFY_FAIL_INVALID_START_TIME
Modification of a reservation fails due to invalid start time. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_FAIL_INVALID_END_TIME

public static final int AR_MODIFY_FAIL_INVALID_END_TIME
Modification of a reservation fails due to invalid end time. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_FAIL_INVALID_NUM_PE

public static final int AR_MODIFY_FAIL_INVALID_NUM_PE
Modification of a reservation fails due to invalid number of PEs requested. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_ERROR

public static final int AR_MODIFY_ERROR
Modification of a reservation fails due to unknown error. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_SUCCESS

public static final int AR_MODIFY_SUCCESS
Modification of a reservation is successfull. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_MODIFY_FAIL_RESOURCE_CANT_SUPPORT

public static final int AR_MODIFY_FAIL_RESOURCE_CANT_SUPPORT
Modification of a reservation fails due to a resource that can not support Advance Reservation functionalities. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

RETURN_AR_COMMIT

public static final int RETURN_AR_COMMIT
Denotes a return tag from GridResource to User entity for sending the result of committing a reservation back.

See Also:
Constant Field Values

RETURN_AR_QUERY_TIME

public static final int RETURN_AR_QUERY_TIME
Denotes a return tag from GridResource to User entity for sending the result of query free or busy time of a reservation

See Also:
Constant Field Values

RETURN_AR_QUERY_STATUS

public static final int RETURN_AR_QUERY_STATUS
Denotes a return tag from GridResource to User entity for sending the result of a reservation status

See Also:
Constant Field Values

RETURN_AR_CANCEL

public static final int RETURN_AR_CANCEL
Denotes a return tag from GridResource to User entity for sending the result of cancelling a reservation

See Also:
Constant Field Values

RETURN_AR_CREATE

public static final int RETURN_AR_CREATE
Denotes a return tag from GridResource to User entity for sending the result of requesting or creating a new reservation

See Also:
Constant Field Values

RETURN_AR_MODIFY

public static final int RETURN_AR_MODIFY
Denotes a return tag from GridResource to User entity for sending the result of modifying a reservation

See Also:
Constant Field Values

AR_CREATE_ERROR_INVALID_START_TIME

public static final int AR_CREATE_ERROR_INVALID_START_TIME
New request of a reservation fails due to invalid start time. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_ERROR_INVALID_END_TIME

public static final int AR_CREATE_ERROR_INVALID_END_TIME
New request of a reservation fails due to invalid end time. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_ERROR_INVALID_DURATION_TIME

public static final int AR_CREATE_ERROR_INVALID_DURATION_TIME
New request of a reservation fails due to invalid duration time. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_ERROR_INVALID_NUM_PE

public static final int AR_CREATE_ERROR_INVALID_NUM_PE
New request of a reservation fails due to invalid number of PEs requested. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_ERROR_INVALID_RESOURCE_ID

public static final int AR_CREATE_ERROR_INVALID_RESOURCE_ID
New request of a reservation fails due to invalid resource ID. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_ERROR_INVALID_RESOURCE_NAME

public static final int AR_CREATE_ERROR_INVALID_RESOURCE_NAME
New request of a reservation fails due to invalid resource name. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_ERROR

public static final int AR_CREATE_ERROR
New request of a reservation fails due to unknown error. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_CANT_SUPPORT

public static final int AR_CREATE_FAIL_RESOURCE_CANT_SUPPORT
New request of a reservation fails due to a resource that can not support Advance Reservation functionalities. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_NOT_ENOUGH_PE

public static final int AR_CREATE_FAIL_RESOURCE_NOT_ENOUGH_PE
New request of a reservation fails due to not enough PEs. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_1_SEC

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_1_SEC
New request of a reservation fails due to a resource full in 1 second. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_5_SECS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_5_SECS
New request of a reservation fails due to a resource full in 5 seconds. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_10_SECS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_10_SECS
New request of a reservation fails due to a resource full in 10 seconds. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_15_SECS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_15_SECS
New request of a reservation fails due to a resource full in 15 seconds. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_30_SECS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_30_SECS
New request of a reservation fails due to a resource full in 30 seconds. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_45_SECS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_SECS
New request of a reservation fails due to a resource full in 45 seconds. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_1_MIN

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_1_MIN
New request of a reservation fails due to a resource full in 1 minute. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_5_MINS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_5_MINS
New request of a reservation fails due to a resource full in 5 minutes. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_10_MINS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_10_MINS
New request of a reservation fails due to a resource full in 10 minutes. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_15_MINS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_15_MINS
New request of a reservation fails due to a resource full in 15 minutes. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_30_MINS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_30_MINS
New request of a reservation fails due to a resource full in 30 minutes. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_45_MINS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_MINS
New request of a reservation fails due to a resource full in 45 minutes. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_1_HOUR

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_1_HOUR
New request of a reservation fails due to a resource full in 1 hour. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_5_HOURS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_5_HOURS
New request of a reservation fails due to a resource full in 5 hours. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_10_HOURS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_10_HOURS
New request of a reservation fails due to a resource full in 10 hours. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_15_HOURS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_15_HOURS
New request of a reservation fails due to a resource full in 15 hours. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_30_HOURS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_30_HOURS
New request of a reservation fails due to a resource full in 30 hours. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

AR_CREATE_FAIL_RESOURCE_FULL_IN_45_HOURS

public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_HOURS
New request of a reservation fails due to a resource full in 45 hours onwards. This tag is sent by a resource or allocation policy to AdvanceReservation entity.

See Also:
Constant Field Values

GridSim 5.0 beta

The University of Melbourne, Australia, 2009