Component lease management
A lease represents the right to perform some job for some period of time. Within a PolicyCenter application cluster, a lease specifically represents one of the following:
- A single run of a batch process
- An instance of a message destination
- An instance of a startable plugin, if it is a single instance plugin
Each server instance in the PolicyCenter cluster has a lease
manager for each lease type. However, some functionality require a server
with a specific server role. For example, only a server with the messaging role can acquire and
manage a lease for a message destination.
Each type of lease manager can perform the following actions:
- Create, acquire, renew, or retire a lease
- Release a lease or request the release of a lease from another lease manager
- Transfer a lease to, or request the transfer of a lease from, another lease manager
Lease management contention
PolicyCenter lease management provides for minimal contention if two lease managers attempt to acquire the same lease at approximately the same time. Guidewire guarantees that only one server can acquire a specific lease. Guidewire also guarantees that, for an exclusive batch process, only a single such lease can exist at any one time.
