A B C D E G H I J K L M N P R S T V

A

AbstractLease - class com.sun.jini.lease.AbstractLease.
A base class for implementing lease objects.
AbstractLease(long) - Constructor for class com.sun.jini.lease.AbstractLease
Construct a relative-format lease.
AbstractLeaseMap - class com.sun.jini.lease.AbstractLeaseMap.
A base class for implementing LeaseMaps.
AbstractLeaseMap(Lease, long) - Constructor for class com.sun.jini.lease.AbstractLeaseMap
Default to using a small HashMap.
AbstractLeaseMap(Map, Lease, long) - Constructor for class com.sun.jini.lease.AbstractLeaseMap
Provide a map of your choice.
add(Entry[], Entry[]) - Static method in class com.sun.jini.lookup.entry.LookupAttributes
Return a new array that has the elements of addAttrSets (that are not duplicates of elements already in attrSets) added to the elements of attrSets.
add(Entry[], Entry[], boolean) - Static method in class com.sun.jini.lookup.entry.LookupAttributes
Return a new array that has the elements of addAttrSets (that are not duplicates of elements already in attrSets) added to the elements of attrSets.
addAttributes(Entry[]) - Method in class com.sun.jini.lookup.JoinManager
Add attribute sets for the service.
addAttributes(Entry[], boolean) - Method in class com.sun.jini.lookup.JoinManager
Add attribute sets for the service.
addDiscoveryListener(DiscoveryListener) - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Add a DiscoveryListener to the listener set.
addGroups(String[]) - Method in class com.sun.jini.lookup.JoinManager
Add new groups to to the set to join.
addLocators(LookupLocator[]) - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Adds LookupLocators to managed set.
addLocators(LookupLocator[]) - Method in class com.sun.jini.lookup.JoinManager
Add new locators for specific lookup services to join.

B

BasicServiceType - class com.sun.jini.lookup.entry.BasicServiceType.
An implementation of ServiceType that uses ResourceBundles.
BasicServiceType() - Constructor for class com.sun.jini.lookup.entry.BasicServiceType
Simple constructor, leaves type field set to null.
BasicServiceType(String) - Constructor for class com.sun.jini.lookup.entry.BasicServiceType
Simple constructor, sets type field to parameter value.

C

calculateDuration(LeasedResource, long) - Method in class com.sun.jini.lease.landlord.LeaseDurationPolicy
Returns the duration this policy is willing to grant for the passed resource at this time.
canBatch(Lease) - Method in class com.sun.jini.lease.landlord.LandlordLease
 
cancel() - Method in class com.sun.jini.lease.landlord.LandlordLease
 
cancel(Lease) - Method in class com.sun.jini.lease.LeaseRenewalManager
Remove a lease from the managed set, and cancel it (only if it was in the managed set).
cancel(Object) - Method in interface com.sun.jini.lease.landlord.Landlord
Called by the lease when its cancel method is called.
cancelAll() - Method in class com.sun.jini.lease.landlord.LandlordLeaseMap
 
cancelAll(Object[]) - Method in interface com.sun.jini.lease.landlord.Landlord
Called by the lease map when its cancelAll method is called.
canContainKey(Object) - Method in class com.sun.jini.lease.landlord.LandlordLeaseMap
 
checkKey(Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
Check that the key is valid for this map
checkValue(Object) - Static method in class com.sun.jini.lease.AbstractLeaseMap
Check that the value is a Long
clear() - Method in class com.sun.jini.lease.LeaseRenewalManager
Remove all leases from the managed set.
clear() - Method in class com.sun.jini.lease.AbstractLeaseMap
 
com.sun.jini.admin - package com.sun.jini.admin
 
com.sun.jini.discovery - package com.sun.jini.discovery
 
com.sun.jini.lease - package com.sun.jini.lease
 
com.sun.jini.lease.landlord - package com.sun.jini.lease.landlord
 
com.sun.jini.lookup - package com.sun.jini.lookup
 
com.sun.jini.lookup.entry - package com.sun.jini.lookup.entry
 
com.sun.jini.mahout - package com.sun.jini.mahout
 
com.sun.jini.reggie - package com.sun.jini.reggie
 
containsKey(Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
 
containsValue(Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
 
createLeaseMap(long) - Method in class com.sun.jini.lease.landlord.LandlordLease
 
currentTime() - Method in class com.sun.jini.lease.landlord.LeaseDurationPolicy
Method that provides some notion of the current time in milliseconds since the beginning of the epoch.

D

denied - Variable in class com.sun.jini.lease.landlord.Landlord.RenewResults
The ith -1 in granted was denied because of denied[i].
destroy() - Method in interface com.sun.jini.admin.DestroyAdmin
Destroy the service, if possible, including its persistent storage.
DestroyAdmin - interface com.sun.jini.admin.DestroyAdmin.
Admin interface for destroying a service.
discard(ServiceRegistrar) - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Discard a LookupLocator from the discovered LookupLocator set.
doRenew(long) - Method in class com.sun.jini.lease.AbstractLease
Renew the lease for a duration relative to now, and return the duration actually granted.
doRenew(long) - Method in class com.sun.jini.lease.landlord.LandlordLease
 

E

enableRegistryBinding(String, int) - Method in interface com.sun.jini.mahout.RegistryAdmin
Enable binding of the service into the RMI registry.
ensureCurrent(LeasedResource) - Method in interface com.sun.jini.lease.landlord.LeasePolicy
Returns true if the lease on the passed resource has not expired yet.
ensureCurrent(LeasedResource) - Method in class com.sun.jini.lease.landlord.LeaseDurationPolicy
Returns true if the lease on the passed resource has not expired yet.
entrySet() - Method in class com.sun.jini.lease.AbstractLeaseMap
 
equal(Entry, Entry) - Static method in class com.sun.jini.lookup.entry.LookupAttributes
Test that two entries are the same type, with the same public fields.
equals(Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
 
equals(Object) - Method in class com.sun.jini.lease.landlord.LandlordLease
 
expiration - Variable in class com.sun.jini.lease.AbstractLease
The lease expiration, in local absolute time.

G

get(Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
 
getAttributes() - Method in class com.sun.jini.lookup.JoinManager
Get the current attribute sets.
getCookie() - Method in interface com.sun.jini.lease.landlord.LeasedResource
Returns a unique identifier that can be used by the grantor of the resource to identify it in the context of a Landlord.renew() or Landlord.cancel() call.
getDiscoveredLocators() - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Returns an array of the managed LookupLocators for which corresponding lookup services have been discovered.
getDisplayName() - Method in class com.sun.jini.lookup.entry.BasicServiceType
Returns the resource named "name", else the type field stripped of any package prefix (i.e., any characters up to and including the last dot ('.').
getException() - Method in class com.sun.jini.lease.LeaseRenewalEvent
Returns the exception, if any.
getExpiration() - Method in class com.sun.jini.lease.LeaseRenewalEvent
Returns the desired absolute expiration for the lease.
getExpiration() - Method in class com.sun.jini.lease.AbstractLease
Return the lease expiration.
getExpiration() - Method in interface com.sun.jini.lease.landlord.LeasedResource
Returns the expiration time of the leased resource.
getExpiration(Lease) - Method in class com.sun.jini.lease.LeaseRenewalManager
Return the current desired absolute expiration (which may be UNKNOWN) for the lease.
getGroups() - Method in class com.sun.jini.lookup.JoinManager
Get the list of groups to join.
getIcon(int) - Method in class com.sun.jini.lookup.entry.BasicServiceType
Returns the resource named "icon.int", else null.
getJoinSet() - Method in class com.sun.jini.lookup.JoinManager
Get the list of lookup services that have currently been joined.
getLease() - Method in class com.sun.jini.lease.LeaseRenewalEvent
Returns the lease that failed to renew.
getLocators() - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Returns an array of the LookupLocators that are being managed.
getLocators() - Method in class com.sun.jini.lookup.JoinManager
Get the list of locators of specific lookup services to join.
getLogToSnapshotThreshold() - Method in interface com.sun.jini.reggie.RegistrarAdmin
Retrieve the value of the size threshold of the snapshot; which is employed by the lookup service in the test to determine whether or not to take a "snapshot" of the system state.
getMinMaxEventLease() - Method in interface com.sun.jini.reggie.RegistrarAdmin
Retrieve the lower bound for the maximum value allowed by the lookup service for any event lease, in milliseconds.
getMinMaxServiceLease() - Method in interface com.sun.jini.reggie.RegistrarAdmin
Retrieve the lower bound for the maximum value allowed by the lookup service for any service lease, in milliseconds.
getMinRenewalInterval() - Method in interface com.sun.jini.reggie.RegistrarAdmin
Retrieve the minimum average interval between lease renewals, in milliseconds.
getSerialFormat() - Method in class com.sun.jini.lease.AbstractLease
Return the serialization format for the expiration.
getShortDescription() - Method in class com.sun.jini.lookup.entry.BasicServiceType
Returns the resource named "desc", else null.
getSnapshotWeight() - Method in interface com.sun.jini.reggie.RegistrarAdmin
Retrieve the weight factor applied by the lookup service to the snapshot size during the test to determine whether or not to take a "snapshot" of the system state.
getStorageLocation() - Method in interface com.sun.jini.admin.StorageLocationAdmin
Returns the location of the service's persistent storage.
getUndiscoveredLocators() - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Returns an array of the managed LookupLocators for which corresponding lookup services have not yet been discovered.
granted - Variable in class com.sun.jini.lease.landlord.Landlord.RenewResults
For each cookie passed to renewAll, granted[i] is the granted lease time, or -1 if the renewal for that least generated an exception.

H

hashCode() - Method in class com.sun.jini.lease.AbstractLeaseMap
 
hashCode() - Method in class com.sun.jini.lease.landlord.LandlordLease
 

I

isEmpty() - Method in class com.sun.jini.lease.AbstractLeaseMap
 

J

JoinManager - class com.sun.jini.lookup.JoinManager.
This class manages the join protocol for a service.
JoinManager(Object, Entry[], ServiceIDListener, LeaseRenewalManager) - Constructor for class com.sun.jini.lookup.JoinManager
Use this constructor when the service does not yet have a service ID, and has not been specially pre-configured with respect to joins.
JoinManager(Object, Entry[], String[], LookupLocator[], ServiceIDListener, LeaseRenewalManager) - Constructor for class com.sun.jini.lookup.JoinManager
Use this constructor when the service does not have a service ID, but has been specially pre-configured with respect to joins.
JoinManager(ServiceID, Object, Entry[], String[], LookupLocator[], LeaseRenewalManager) - Constructor for class com.sun.jini.lookup.JoinManager
Use this constructor when the service already has a service ID.

K

keySet() - Method in class com.sun.jini.lease.AbstractLeaseMap
 

L

Landlord - interface com.sun.jini.lease.landlord.Landlord.
Interface that owners of leased resources must meet inorder to work with the jini.lease.Leases returned by LeaseDurationPolicy.leaseFor().
Landlord.RenewResults - class com.sun.jini.lease.landlord.Landlord.RenewResults.
Simple class that holds return values of the Landlord.renewAll method.
Landlord.RenewResults(long[]) - Constructor for class com.sun.jini.lease.landlord.Landlord.RenewResults
Create a RenewResults object setting the field granted to the passed value, and denied to null.
Landlord.RenewResults(long[], Exception[]) - Constructor for class com.sun.jini.lease.landlord.Landlord.RenewResults
Create a RenewResults object setting the field granted and denied fields to the passed values.
LandlordLease - class com.sun.jini.lease.landlord.LandlordLease.
Basic implementaion of net.jini.core.lease.Lease that works with the the Landlord protocol.
LandlordLease.Factory - class com.sun.jini.lease.landlord.LandlordLease.Factory.
Implementation of LandlordLeaseFactory the produces LandlordLeases.
LandlordLease.Factory() - Constructor for class com.sun.jini.lease.landlord.LandlordLease.Factory
 
LandlordLeaseFactory - interface com.sun.jini.lease.landlord.LandlordLeaseFactory.
Factory interface for classes that create Lease objects that follow the Landlord protocol.
LandlordLeaseMap - class com.sun.jini.lease.landlord.LandlordLeaseMap.
Implementaion of LeaseMap for LandlordLease.
LeasedResource - interface com.sun.jini.lease.landlord.LeasedResource.
Leased resources must meet this interface if they are to be used with LeaseDurationPolicy and/or LeaseManager
LeaseDurationPolicy - class com.sun.jini.lease.landlord.LeaseDurationPolicy.
Provides an implementation of LeasePolicy that grants and renews leases based on constant values for maximum and default lease durations.
LeaseDurationPolicy(long, long, Landlord, LeaseManager, LandlordLeaseFactory) - Constructor for class com.sun.jini.lease.landlord.LeaseDurationPolicy
Create a LeaseDurationPolicy that will handout the leases with the specified maximum and default durations.
leaseFor(LeasedResource, long) - Method in interface com.sun.jini.lease.landlord.LeasePolicy
Factory method that returns lease objects for the specified resource.
leaseFor(LeasedResource, long) - Method in class com.sun.jini.lease.landlord.LeaseDurationPolicy
Factory method that returns lease objects for the specified resource.
LeaseListener - interface com.sun.jini.lease.LeaseListener.
 
LeaseManager - interface com.sun.jini.lease.landlord.LeaseManager.
LeaseManager provides an interface for tracking lease status.
LeasePolicy - interface com.sun.jini.lease.landlord.LeasePolicy.
Interface for classes that implement Lease grant and renewal policies.
LeaseRenewalEvent - class com.sun.jini.lease.LeaseRenewalEvent.
 
LeaseRenewalEvent(LeaseRenewalManager, Lease, long, Exception) - Constructor for class com.sun.jini.lease.LeaseRenewalEvent
Construct an event.
LeaseRenewalManager - class com.sun.jini.lease.LeaseRenewalManager.
A lease renewal manager.
LeaseRenewalManager() - Constructor for class com.sun.jini.lease.LeaseRenewalManager
Create a manager, initially managing no leases.
LeaseRenewalManager(Lease, long, LeaseListener) - Constructor for class com.sun.jini.lease.LeaseRenewalManager
Create a manager, initially managing a single lease.
LookupAttributes - class com.sun.jini.lookup.entry.LookupAttributes.
Some simple utilities for manipulating lookup service attributes.
LookupLocatorDiscovery - class com.sun.jini.discovery.LookupLocatorDiscovery.
This class allows one to find out about specific instances of the Jini lookup service, nearby or far away, using LookupLocators.
LookupLocatorDiscovery(LookupLocator[]) - Constructor for class com.sun.jini.discovery.LookupLocatorDiscovery
Create a LookupLocatorDiscovery, with an initial array of LookupLocators to be managed.

M

map - Variable in class com.sun.jini.lease.AbstractLeaseMap
Map from Lease to Long(duration), where all leases have the same destination.
matches(Entry, Entry) - Static method in class com.sun.jini.lookup.entry.LookupAttributes
Test if tmpl is the same class as or a superclass of e, and that every non-null public field of tmpl is the same as the corresponding field of e.
modify(Entry[], Entry[], Entry[]) - Static method in class com.sun.jini.lookup.entry.LookupAttributes
Return a new array that contains copies of the attributes in attrSets, modified according to attrSetTmpls and modAttrSets.
modify(Entry[], Entry[], Entry[], boolean) - Static method in class com.sun.jini.lookup.entry.LookupAttributes
Return a new array that contains copies of the attributes in attrSets, modified according to attrSetTmpls and modAttrSets.
modifyAttributes(Entry[], Entry[]) - Method in class com.sun.jini.lookup.JoinManager
Modify the current attribute sets, using the same semantics as ServiceRegistration.modifyAttributes.
modifyAttributes(Entry[], Entry[], boolean) - Method in class com.sun.jini.lookup.JoinManager
Modify the current attribute sets, using the same semantics as ServiceRegistration.modifyAttributes.

N

newLease(Object, Landlord, long) - Method in interface com.sun.jini.lease.landlord.LandlordLeaseFactory
Create a new lease that works with landlord protocol.
newLease(Object, Landlord, long) - Method in class com.sun.jini.lease.landlord.LandlordLease.Factory
 
notify(LeaseRenewalEvent) - Method in interface com.sun.jini.lease.LeaseListener
Called by the LeaseRenewalManager when a lease expires or is denied before the desired absolute expiration time is reached.

P

put(Object, Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
 
putAll(Map) - Method in class com.sun.jini.lease.AbstractLeaseMap
 

R

register(LeasedResource, long) - Method in interface com.sun.jini.lease.landlord.LeaseManager
Notifies the manager of a new lease being created.
RegistrarAdmin - interface com.sun.jini.reggie.RegistrarAdmin.
An administrative interface for the com.sun.jini.reggie implementation of the lookup service.
RegistryAdmin - interface com.sun.jini.mahout.RegistryAdmin.
Administrative interface for controlling whether or not a service will bind itself into the RMI registry and how.
remove(Lease) - Method in class com.sun.jini.lease.LeaseRenewalManager
Remove a lease from the managed set.
remove(Object) - Method in class com.sun.jini.lease.AbstractLeaseMap
 
removeDiscoveryListener(DiscoveryListener) - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Remove a DiscoveryListener from the listener set.
removeGroups(String[]) - Method in class com.sun.jini.lookup.JoinManager
Remove groups from the set to join.
removeLocators(LookupLocator[]) - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Removes LookupLocators from the managed set, and discards any associated discovered lookup services.
removeLocators(LookupLocator[]) - Method in class com.sun.jini.lookup.JoinManager
Remove locators for specific lookup services from the set to join.
renew(LeasedResource, long) - Method in interface com.sun.jini.lease.landlord.LeasePolicy
Renews the expiration of the passed resource.
renew(LeasedResource, long) - Method in class com.sun.jini.lease.landlord.LeaseDurationPolicy
Renews the expiration of the passed resource.
renew(long) - Method in class com.sun.jini.lease.AbstractLease
Renew the lease for a duration relative to now.
renew(Object, long) - Method in interface com.sun.jini.lease.landlord.Landlord
Called by the lease when its renew method is called.
renewAll() - Method in class com.sun.jini.lease.landlord.LandlordLeaseMap
 
renewAll(Object[], long[]) - Method in interface com.sun.jini.lease.landlord.Landlord
Called by the lease map when its renewAll method is called.
renewed(LeasedResource, long, long) - Method in interface com.sun.jini.lease.landlord.LeaseManager
Notifies the manager of a lease being renewed.
renewFor(Lease, long, LeaseListener) - Method in class com.sun.jini.lease.LeaseRenewalManager
Add a lease to the managed set managed, renewed for a specific duration relative to now.
renewUntil(Lease, long, LeaseListener) - Method in class com.sun.jini.lease.LeaseRenewalManager
Add a lease to the managed set, renewed until a specific absolute expiration.

S

serialFormat - Variable in class com.sun.jini.lease.AbstractLease
Serialization format for the expiration.
ServiceIDListener - interface com.sun.jini.lookup.ServiceIDListener.
Interface used by a service that does not yet have a service ID, for callback from the JoinManager when a service ID is assigned.
serviceIDNotify(ServiceID) - Method in interface com.sun.jini.lookup.ServiceIDListener
Called when the JoinManager gets a valid ServiceID from a lookup service.
setAttributes(Entry[]) - Method in class com.sun.jini.lookup.JoinManager
Set the complete attribute sets for the service.
setExpiration(Lease, long) - Method in class com.sun.jini.lease.LeaseRenewalManager
Change the desired absolute expiration for a lease that is already managed.
setExpiration(long) - Method in interface com.sun.jini.lease.landlord.LeasedResource
Changes the expiration time of the leased resource.
setGroups(String[]) - Method in class com.sun.jini.lookup.JoinManager
Replace the list of groups to join with a new list.
setLocators(LookupLocator[]) - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Replaces the currently managed LookupLocators with a new set.
setLocators(LookupLocator[]) - Method in class com.sun.jini.lookup.JoinManager
Replace the list of locators of specific lookup services to join with a new list.
setLogToSnapshotThreshold(int) - Method in interface com.sun.jini.reggie.RegistrarAdmin
Change the value of the size threshold of the snapshot; which is employed by the lookup service in the test to determine whether or not to take a "snapshot" of the system state.
setMinMaxEventLease(long) - Method in interface com.sun.jini.reggie.RegistrarAdmin
Change the lower bound for the maximum value allowed by the lookup service for any event lease, in milliseconds.
setMinMaxServiceLease(long) - Method in interface com.sun.jini.reggie.RegistrarAdmin
Change the lower bound for the maximum value allowed by the lookup service for any service lease, in milliseconds.
setMinRenewalInterval(long) - Method in interface com.sun.jini.reggie.RegistrarAdmin
Change the minimum average interval between lease renewals, in milliseconds.
setSerialFormat(int) - Method in class com.sun.jini.lease.AbstractLease
Set the serialization format for the expiration.
setSnapshotWeight(float) - Method in interface com.sun.jini.reggie.RegistrarAdmin
Change the weight factor applied by the lookup service to the snapshot size during the test to determine whether or not to take a "snapshot" of the system state.
setStorageLocation(String) - Method in interface com.sun.jini.admin.StorageLocationAdmin
Sets the location of the service's persistent storage, moving all current persistent storage from the current location to the specified new location.
size() - Method in class com.sun.jini.lease.AbstractLeaseMap
 
StorageLocationAdmin - interface com.sun.jini.admin.StorageLocationAdmin.
Admin interface for controlling the location of a service's persistent storage.

T

terminate() - Method in class com.sun.jini.discovery.LookupLocatorDiscovery
Terminates all daemon threads.
terminate() - Method in class com.sun.jini.lookup.JoinManager
Cancel leases at all joined lookup services.
toString() - Method in class com.sun.jini.lease.landlord.LandlordLease
 
type - Variable in class com.sun.jini.lookup.entry.BasicServiceType
The type of service.

V

values() - Method in class com.sun.jini.lease.AbstractLeaseMap
 

A B C D E G H I J K L M N P R S T V

Copyright © 1999 Sun Microsystems, Inc. All rights reserved