GigaSpaces XAP.NET Documentation
ILease Interface
Class LibraryGigaSpaces.CoreILease
Defines a type of object that is issued by the lease grantor and returned to the lease holder.
Declaration Syntax
C#Visual BasicVisual C++J#
public interface ILease : IDisposable
Public Interface ILease _
	Implements IDisposable
public interface class ILease : IDisposable
public interface ILease extends IDisposable
All MembersMethodsProperties

Used by the lease holder to indicate that it is no longer interested in the resource or information held by the lease.

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Returns the absolute time that the lease will expire, represented as milliseconds from the beginning of the epoch, relative to the local clock.

Used to renew a lease for an additional period of time.

Particular instances of the Lease type will be created by the grantors of a lease, and returned to the holder of the lease as part of the return value from a call that allocates a leased resource. The call that requests a leased resource will typically include a requested duration for the lease. If the request is for a particular duration, the lease grantor is required to grant a lease of no more than the requested period of time. A lease may be granted for a period of time shorter than that requested.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: (