Deployment Descriptor DeploymentSchedule Element

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: The DeploymentSchedule element allows a deployer to specify when an application will be deployed and how long it will remain deployed.

Overview

An application can have a schedled deployment. The DeploymentSchedule element allows a deployer to specify a time in the future when an application will be deployed and how long it will remain deployed (the deployment duration).

Scheduling of an application is part of the Deployment Descriptor itself, the schedule itself is an optional declarative attribute, and if not declared the application will be deployed immediately.

The application is scheduled as part of the Deployment Descriptor element. An example of a Schedule follows:

<DeploymentSchedule>
    <DeployDate DayOfWeek="Thursday" Hour="8" Minute="30" Format="PM"/>
    <Duration Minutes="30"/>
    <Repeats Count="10">
        <Interval Days="1" Hours="1" Minutes="1"/>
    </Repeats>
</DeploymentSchedule>

This DeploymentSchedule produces the following:

  • Deploy the application every Thursday at 8:30 PM.
  • The application shall remain deployed for 30 minutes.
  • The application deployment repeats 10 times, waiting 1 day, 1 hour and 1 minute between deployments.

Once the DeploymentSchedule element is parsed, a Schedule object is created and set to the enclosing deployment descriptor.

Once the application is deployed, the Schedule is consulted to determine the semantics of when to optionally schedule the application deployment.

RELATED TOPICS

Declaring Elements Globally in Deployment Descriptor
Declaring Service UI in Deployment Descriptor
Deployment Descriptor Codebase Element
Deployment Descriptor DeploymentSchedule Element
Deployment Descriptor Parameters and Configuration Elements
Deployment Descriptor SharedComponent Element
Deployment Descriptor SLA Element
deploy - Service Grid CLI
Fixed and Dynamic ServiceBean ProvisionType
Injecting Deployment Descriptor Properties into POJOs
POJO Lifecycle in Service Grid
Proactive Cache
redeploy - Service Grid CLI
Rio OperationalString
Service Associations
Service Deployment Descriptor
Service Grid ClassLoader Hierarchy
undeploy - Service Grid CLI
Using Service Grid to Deploy Partitioned Space
Using Service Grid to Deploy Partitioned Space with Backup
Using Service Grid to Deploy Replicated Space
Using Service Grid to Deploy Space
Using Service Grid to Deploy Spring Applications
Using System Properties for Deployment Descriptor Element Values

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels