Package | Description |
---|---|
net.jini.core.lease |
These are distributed leasing interfaces and classes.
|
net.jini.core.lookup |
These are the lookup service interfaces and classes.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.