Uses of Class
org.simpleframework.common.lease.LeaseException

Packages that use LeaseException
Package
Description
 
  • Uses of LeaseException in org.simpleframework.common.lease

    Modifier and Type
    Method
    Description
    void
    ContractController.cancel(Contract<T> contract)
    This will cancel the lease and release the resource.
    void
    ContractLease.cancel()
    This will cancel the lease and release the resource.
    void
    Lease.cancel()
    This will cancel the lease and release the resource.
    long
    ContractLease.getExpiry(TimeUnit unit)
    Determines the duration remaining before the lease expires.
    long
    Lease.getExpiry(TimeUnit unit)
    Determines the duration remaining before the lease expires.
    void
    ContractController.issue(Contract<T> contract)
    This method will establish a contract for the given duration.
    boolean
    LeaseCleaner.issue(Contract<T> contract)
    This method will establish a contract for a given resource.
    void
    ContractController.renew(Contract<T> contract)
    This ensures that the contract is renewed for the duration on the contract, which may have changed since it was issued or last renewed.
    void
    ContractLease.renew(long duration, TimeUnit unit)
    This ensures that the leased resource is maintained for the specified number of TimeUnit seconds.
    void
    Lease.renew(long duration, TimeUnit unit)
    This ensures that the leased resource is maintained for the specified number of TimeUnit seconds.
    boolean
    LeaseCleaner.revoke(Contract<T> contract)
    This revokes a contract that has previously been issued.