Uses of Class
net.jini.core.lease.UnknownLeaseException

Packages that use UnknownLeaseException
com.sun.jini.fiddler Provides the server side of an implementation of the lookup discovery service (see LookupDiscoveryService). 
com.sun.jini.landlord This is a utility for services implementing leases. 
com.sun.jini.lease Some basic utility classes for helping with client-side lease renewal operations. 
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. 
com.sun.jini.reggie Provides implementations of ServiceRegistrar
net.jini.core.lease These are distributed leasing interfaces and classes. 
net.jini.core.lookup These are the lookup service interfaces and classes. 
net.jini.lease Standard service and utility classes for managing leases. 
 

Uses of UnknownLeaseException in com.sun.jini.fiddler
 

Methods in com.sun.jini.fiddler that throw UnknownLeaseException
 void FiddlerLease.cancel()
          This method allows the entity to which the current lease is granted (the lease holder) to indicate that it is no longer interested in the resources provided to the entity by the lookup discovery service.
 void Fiddler.cancelLease(Uuid registrationID, Uuid leaseID)
          This method cancels the lease corresponding to the given registrationID and leaseID parameters.
 void FiddlerImpl.cancelLease(Uuid registrationID, Uuid leaseID)
          This method is the "backend" server counterpart to the cancel method specified by the Lease interface and implemented in the FiddlerLease class; an instance of which is returned by the getLease method of the LookupDiscoveryRegistration proxy (an instance of FiddlerRegistration) that is returned by this service when a client requests a registration.
private  void FiddlerImpl.cancelLeaseDo(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID)
          Called by the public method cancelLease.
private  void FiddlerImpl.cancelLeaseDo(Uuid registrationID, HashMap registrationByID, Uuid leaseID)
          Called by the apply method of the class LeaseCancelledLogObj (which is invoked during state recovery).
protected  long FiddlerLease.doRenew(long duration)
          This method allows the entity to which the current lease is granted (the lease holder) to indicate that it is still interested in the resources of the lookup discovery service, and to request continued access to those resources for an amount of time (in milliseconds) relative to the current time.
 long Fiddler.renewLease(Uuid registrationID, Uuid leaseID, long duration)
          This method renews the lease corresponding to the given registrationID and leaseID parameters, granting a new duration that is less than or equal to the requested duration value contained in the duration parameter.
 long FiddlerImpl.renewLease(Uuid registrationID, Uuid leaseID, long duration)
          This method is the "backend" server counterpart to the renew method specified by the Lease interface, implemented in the com.sun.jini.lease.AbstractLease class, and invoked by way of the doRenew method of the FiddlerLease class; an instance of which is returned by the getLease method of the LookupDiscoveryRegistration proxy (an instance of FiddlerRegistration) that is returned by this service when a client requests a registration.
private  long FiddlerImpl.renewLeaseDo(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID, long duration)
          Called by the public method renewLease.
private  long FiddlerImpl.renewLeaseInt(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID, long duration, long curTime)
          Called by the method renewLeaseDo.
 

Uses of UnknownLeaseException in com.sun.jini.landlord
 

Methods in com.sun.jini.landlord that throw UnknownLeaseException
 void LandlordLease.cancel()
           
 void LocalLandlord.cancel(Uuid cookie)
          Cancel the lease that is associated with the given cookie.
 void Landlord.cancel(Uuid cookie)
          Called by the lease when its cancel method is called.
protected  long LandlordLease.doRenew(long renewDuration)
           
 long LocalLandlord.renew(Uuid cookie, long duration)
          Renew the lease that is associated with the given cookie.
 long Landlord.renew(Uuid cookie, long duration)
          Called by the lease when its renew method is called.
 

Uses of UnknownLeaseException in com.sun.jini.lease
 

Methods in com.sun.jini.lease that throw UnknownLeaseException
protected abstract  long AbstractLease.doRenew(long duration)
          Renew the lease for a duration relative to now, and return the duration actually granted.
 void AbstractLease.renew(long duration)
          Renew the lease for a duration relative to now.
 

Uses of UnknownLeaseException in com.sun.jini.mahalo
 

Methods in com.sun.jini.mahalo that throw UnknownLeaseException
 void LeaseExpirationMgr.Expirer.cancel(Uuid cookie)
          Called by a LeaseExpirationMgr when it needs to expire a resource.
 void TxnManagerImpl.cancel(Uuid uuid)
          Cancels the lease on a Transaction.
 long TxnManagerImpl.renew(Uuid uuid, long extension)
          Requests the renewal of a lease on a Transaction.
private  void TxnManagerImpl.verifyLeaseUuid(Uuid uuid)
           
 

Uses of UnknownLeaseException in com.sun.jini.mercury
 

Methods in com.sun.jini.mercury that throw UnknownLeaseException
 void MailboxImpl.cancel(Uuid cookie)
           
 void MailboxImpl.LocalLandlordAdaptor.cancel(Uuid cookie)
           
private  void MailboxImpl.cancelDo(Uuid cookie)
          Performs the actual registration cancellation logic
 long MailboxImpl.renew(Uuid cookie, long extension)
           
 long MailboxImpl.LocalLandlordAdaptor.renew(Uuid cookie, long extension)
           
private  long MailboxImpl.renewDo(Uuid cookie, long extension)
          Performs the actual registration renewal logic
 

Uses of UnknownLeaseException in com.sun.jini.norm
 

Methods in com.sun.jini.norm that throw UnknownLeaseException
 void NormServerBaseImpl.cancel(Uuid cookie)
           
 void ClientLeaseWrapper.renew(long duration)
           
 long NormServerBaseImpl.renew(Uuid cookie, long extension)
           
 

Uses of UnknownLeaseException in com.sun.jini.outrigger
 

Methods in com.sun.jini.outrigger that return UnknownLeaseException
private  UnknownLeaseException OutriggerServerImpl.throwNewUnknownLeaseException(Object cookie)
          Log and throw a new UnknownLeaseException
 

Methods in com.sun.jini.outrigger that throw UnknownLeaseException
 void OutriggerServerWrapper.cancel(Uuid cookie)
           
 void OutriggerServerImpl.cancel(Uuid cookie)
           
 long OutriggerServerWrapper.renew(Uuid cookie, long extension)
           
 long OutriggerServerImpl.renew(Uuid cookie, long extension)
           
private  UnknownLeaseException OutriggerServerImpl.throwNewUnknownLeaseException(Object cookie)
          Log and throw a new UnknownLeaseException
 

Uses of UnknownLeaseException in com.sun.jini.reggie
 

Methods in com.sun.jini.reggie that throw UnknownLeaseException
 void Registration.addAttributes(Entry[] attrSets)
           
 void RegistrarImpl.addAttributes(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSets)
           
 void Registrar.addAttributes(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSets)
          Adds the specified attribute sets (those that aren't duplicates of existing attribute sets) to the registered service item.
private  void RegistrarImpl.addAttributesDo(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSets)
          The code that does the real work of addAttributes.
 void ServiceLease.cancel()
           
 void EventLease.cancel()
           
 void RegistrarImpl.cancelEventLease(long eventID, Uuid leaseID)
           
 void Registrar.cancelEventLease(long eventID, Uuid leaseID)
          Cancels an event lease.
private  void RegistrarImpl.cancelEventLeaseDo(long eventID, Uuid leaseID)
          The code that does the real work of cancelEventLease.
 void RegistrarImpl.cancelServiceLease(ServiceID serviceID, Uuid leaseID)
           
 void Registrar.cancelServiceLease(ServiceID serviceID, Uuid leaseID)
          Cancels a service lease.
private  void RegistrarImpl.cancelServiceLeaseDo(ServiceID serviceID, Uuid leaseID)
          The code that does the real work of cancelServiceLease.
protected  long ServiceLease.doRenew(long duration)
          Do the actual renew.
protected  long EventLease.doRenew(long duration)
          Renews the event lease associated with an instance of this class.
 void Registration.modifyAttributes(Entry[] attrSetTmpls, Entry[] attrSets)
           
 void RegistrarImpl.modifyAttributes(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSetTmpls, EntryRep[] attrSets)
           
 void Registrar.modifyAttributes(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSetTmpls, EntryRep[] attrSets)
          Modifies existing attribute sets of a registered service item.
private  void RegistrarImpl.modifyAttributesDo(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSetTmpls, EntryRep[] attrSets)
          The code that does the real work of modifyAttributes.
 long RegistrarImpl.renewEventLease(long eventID, Uuid leaseID, long renewDuration)
           
 long Registrar.renewEventLease(long eventID, Uuid leaseID, long duration)
          Renews an event lease.
private  long RegistrarImpl.renewEventLeaseDo(long eventID, Uuid leaseID, long renewDuration)
          The code that does the real work of renewEventLease.
private  long RegistrarImpl.renewEventLeaseInt(long eventID, Uuid leaseID, long renewDuration, long now)
           
 long RegistrarImpl.renewServiceLease(ServiceID serviceID, Uuid leaseID, long renewDuration)
           
 long Registrar.renewServiceLease(ServiceID serviceID, Uuid leaseID, long duration)
          Renews a service lease.
private  long RegistrarImpl.renewServiceLeaseDo(ServiceID serviceID, Uuid leaseID, long renewDuration)
          The code that does the real work of renewServiceLease.
private  long RegistrarImpl.renewServiceLeaseInt(ServiceID serviceID, Uuid leaseID, long renewDuration, long now)
          Renew a service lease for a relative duration from now.
 void Registration.setAttributes(Entry[] attrSets)
           
 void RegistrarImpl.setAttributes(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSets)
           
 void Registrar.setAttributes(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSets)
          Deletes all of the service item's existing attributes, and replaces them with the specified attribute sets.
private  void RegistrarImpl.setAttributesDo(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSets)
          The code that does the real work of setAttributes.
 

Uses of UnknownLeaseException in net.jini.core.lease
 

Methods in net.jini.core.lease that throw UnknownLeaseException
 void Lease.cancel()
          Used by the lease holder to indicate that it is no longer interested in the resource or information held by the lease.
 void Lease.renew(long duration)
          Used to renew a lease for an additional period of time, specified in milliseconds.
 

Uses of UnknownLeaseException in net.jini.core.lookup
 

Methods in net.jini.core.lookup that throw UnknownLeaseException
 void ServiceRegistration.addAttributes(Entry[] attrSets)
          Adds the specified attribute sets (those that aren't duplicates of existing attribute sets) to the registered service item.
 void ServiceRegistration.modifyAttributes(Entry[] attrSetTemplates, Entry[] attrSets)
          Modifies existing attribute sets.
 void ServiceRegistration.setAttributes(Entry[] attrSets)
          Deletes all of the service item's existing attributes, and replaces them with the specified attribute sets.
 

Uses of UnknownLeaseException in net.jini.lease
 

Methods in net.jini.lease that throw UnknownLeaseException
 void LeaseRenewalManager.cancel(Lease lease)
          Removes a given lease from the managed set, and cancels it.
private  LeaseRenewalManager.Entry LeaseRenewalManager.findEntry(Lease lease)
          Find a lease entry, throw exception if not found or expired normally
 long LeaseRenewalManager.getExpiration(Lease lease)
          Returns the current desired expiration time associated with a particular lease, (not the actual expiration that was granted when the lease was created or last renewed).
 void LeaseRenewalManager.remove(Lease lease)
          Removes a given lease from the managed set of leases; but does not cancel the given lease.
 void LeaseRenewalManager.setExpiration(Lease lease, long expiration)
          Replaces the current desired expiration of a given lease from the managed set with a new desired expiration time.
 



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