Uses of Interface
com.sun.jini.landlord.LeasedResource

Packages that use LeasedResource
com.sun.jini.landlord This is a utility for services implementing leases. 
com.sun.jini.mahalo Provides implementations of the TransactionManager service. 
com.sun.jini.mercury Provides implementations of the EventMailbox service. 
com.sun.jini.norm Provides implementations of LeaseRenewalService
com.sun.jini.outrigger This is an implementation of a JavaSpaces technology-enabled service. 
 

Uses of LeasedResource in com.sun.jini.landlord
 

Methods in com.sun.jini.landlord with parameters of type LeasedResource
protected  long FixedLeasePeriodPolicy.calculateDuration(LeasedResource resource, long requestedDuration)
          Returns the duration this policy is willing to grant for the passed resource at this time.
 LeasePeriodPolicy.Result LeasePeriodPolicy.grant(LeasedResource resource, long requestedDuration)
          Calculate the initial expiration and duration for a new lease.
 LeasePeriodPolicy.Result FixedLeasePeriodPolicy.grant(LeasedResource resource, long requestedDuration)
           
 LeasePeriodPolicy.Result LeasePeriodPolicy.renew(LeasedResource resource, long requestedDuration)
          Calculate the expiration and duration for an existing lease that is being renewed.
 LeasePeriodPolicy.Result FixedLeasePeriodPolicy.renew(LeasedResource resource, long requestedDuration)
           
 

Uses of LeasedResource in com.sun.jini.mahalo
 

Classes in com.sun.jini.mahalo that implement LeasedResource
(package private)  class TxnManagerTransaction
          TxnManagerTransaction is a class which captures the internal representation of a transaction in the TxnManagerImpl server.
 

Methods in com.sun.jini.mahalo with parameters of type LeasedResource
private static boolean TxnManagerImpl.ensureCurrent(LeasedResource resource)
          Utility method that check for valid resource
 void LeaseManager.register(LeasedResource resource)
          Notifies the manager of a new lease being created.
 void LeaseExpirationMgr.register(LeasedResource resource)
           
 void LeaseManager.renewed(LeasedResource resource)
          Notifies the manager of a lease being renewed.
 void LeaseExpirationMgr.renewed(LeasedResource resource)
           
private  void LeaseExpirationMgr.schedule(LeasedResource resource)
          Schedule a leased resource to be reaped in the future.
 

Constructors in com.sun.jini.mahalo with parameters of type LeasedResource
LeaseExpirationMgr.Canceler(LeasedResource resource)
          Create a Canceler for the passed resource
 

Uses of LeasedResource in com.sun.jini.mercury
 

Classes in com.sun.jini.mercury that implement LeasedResource
(package private)  class ServiceRegistration
          The ServiceRegistration class serves as the server-side abstraction that maintains client registration state information.
 

Methods in com.sun.jini.mercury with parameters of type LeasedResource
private static boolean MailboxImpl.ensureCurrent(LeasedResource resource)
          Utility method that check for valid resource
 

Uses of LeasedResource in com.sun.jini.norm
 

Classes in com.sun.jini.norm that implement LeasedResource
(package private)  class LeaseSet
          Norm's internal representation of LeaseRenewalSets.
 

Methods in com.sun.jini.norm with parameters of type LeasedResource
(package private)  void LeaseExpirationMgr.register(LeasedResource resource)
          Notifies the manager of a new lease being created.
(package private)  void LeaseExpirationMgr.reschedule(LeasedResource resource)
          Notifies the manager of a lease being renewed.
(package private)  void LeaseExpirationMgr.schedule(LeasedResource resource)
          Schedule a leased resource to be reaped in the future.
 

Uses of LeasedResource in com.sun.jini.outrigger
 

Subinterfaces of LeasedResource in com.sun.jini.outrigger
(package private)  interface EventRegistrationRecord
          Common functionally shared between new entry and (re)visibility events.
 interface StorableResource
          Sub-interface of StorableObject that must be implemented by objects that represent leased resources and must persist their state.
 

Classes in com.sun.jini.outrigger that implement LeasedResource
(package private)  class AvailabilityRegistrationWatcher
          Subclass of TransitionWatcher for availability event registrations.
(package private)  class EntryRep
          An EntryRep object contains a packaged Entry object for communication between the client and a JavaSpace.
(package private)  class EventRegistrationWatcher
          Subclass of TransitionWatcher for event registrations.
private  class OutriggerServerImpl.ContentsQuery
          Object that keeps the current state of contents queries.
(package private)  class StorableAvailabilityWatcher
          Subclass of AvailabilityRegistrationWatcher for non-transactional persistent availability/visibility event registrations.
(package private)  class StorableEventWatcher
          Subclass of EventRegistrationWatcher for non-transactional persistent event registrations.
(package private)  class TransactableAvailabilityWatcher
          Subclass of AvailabilityRegistrationWatcher for transactional availability event registrations.
(package private)  class TransactableEventWatcher
          Subclass of EventRegistrationWatcher for transactional event registrations.
 

Methods in com.sun.jini.outrigger that return LeasedResource
 LeasedResource EntryHandle.getLeasedResource()
           
 LeasedResource LeaseDesc.getLeasedResource()
          Return the LeasedResource object for this resource.
(package private)  LeasedResource EntryHolderSet.getLeasedResource(Uuid cookie)
           
 

Methods in com.sun.jini.outrigger with parameters of type LeasedResource
private  LeasePeriodPolicy.Result OutriggerServerImpl.grant(LeasedResource resource, long requestedDuration, LeasePeriodPolicy policy, String policyName)
          Utility method to calculate the lease duration/expiration for a new resource and set the resource's expiration.
 



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.