|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Entry | |
---|---|
net.jini.core.entry | The Entry interface and its associated
UnusableEntryException are used by the lookup service
to represent service-specific attributes and by the JavaSpace
interface to mark entries. |
net.jini.core.lookup | These are the lookup service interfaces and classes. |
net.jini.entry | Provides classes that are useful when handling or implementing entries. |
net.jini.space | JavaSpaces servers provide a place on the network, a space, for clients to store and exchange objects. |
Uses of Entry in net.jini.core.entry |
---|
Fields in net.jini.core.entry declared as Entry | |
---|---|
Entry |
UnusableEntryException.partialEntry
The partial entry. |
Constructors in net.jini.core.entry with parameters of type Entry | |
---|---|
UnusableEntryException(Entry partial,
String[] badFields,
Throwable[] exceptions)
Create an exception for the given partial entry and vectors of bad field names/nested exception pairs. |
Uses of Entry in net.jini.core.lookup |
---|
Fields in net.jini.core.lookup declared as Entry | |
---|---|
Entry[] |
ServiceItem.attributeSets
Attribute sets. |
Entry[] |
ServiceTemplate.attributeSetTemplates
Attribute set templates to match, or null. |
Methods in net.jini.core.lookup with parameters of type Entry | |
---|---|
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.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. |
Constructors in net.jini.core.lookup with parameters of type Entry | |
---|---|
ServiceItem(ServiceID serviceID,
Object service,
Entry[] attrSets)
Simple constructor. |
|
ServiceTemplate(ServiceID serviceID,
Class[] serviceTypes,
Entry[] attrSetTemplates)
Simple constructor. |
Uses of Entry in net.jini.entry |
---|
Classes in net.jini.entry that implement Entry | |
---|---|
class |
AbstractEntry
An abstract implementation of Entry that provides useful
implementations of equals , hashCode , and
toString . |
Methods in net.jini.entry with parameters of type Entry | |
---|---|
static boolean |
AbstractEntry.equals(Entry e1,
Entry e2)
Returns true if the two arguments are of the same
class and for each entry field F, the arguments'
values for F are either both null or the
invocation of equals on one argument's value for
F with the other argument's value for F as
its parameter returns true . |
static int |
AbstractEntry.hashCode(Entry entry)
Returns zero XORed with the result of invoking hashCode on each of the argument's
non-null entry fields. |
static String |
AbstractEntry.toString(Entry entry)
Returns a String representation of its argument
that will contain the name of the argument's class and a
representation of each of the argument's entry fields. |
Uses of Entry in net.jini.space |
---|
Methods in net.jini.space that return Entry | |
---|---|
abstract Entry |
AvailabilityEvent.getEntry()
Returns a copy of the Entry whose transition
triggered this event. |
Entry |
MatchSet.getSnapshot()
Returns a snapshot of the Entry removed by
the last call to next . |
abstract Entry |
AvailabilityEvent.getSnapshot()
Returns a snapshot of the Entry whose
transition triggered this event. |
Entry |
MatchSet.next()
Removes one Entry from the match set and
returns a copy to the caller. |
Entry |
JavaSpace.read(Entry tmpl,
Transaction txn,
long timeout)
Read any matching entry from the space, blocking until one exists. |
Entry |
JavaSpace.readIfExists(Entry tmpl,
Transaction txn,
long timeout)
Read any matching entry from the space, returning null if there is currently is none. |
Entry |
JavaSpace.snapshot(Entry e)
The process of serializing an entry for transmission to a JavaSpaces service will be identical if the same entry is used twice. |
Entry |
JavaSpace.take(Entry tmpl,
Transaction txn,
long timeout)
Take a matching entry from the space, waiting until one exists. |
Entry |
JavaSpace.takeIfExists(Entry tmpl,
Transaction txn,
long timeout)
Take a matching entry from the space, returning null if there is currently is none. |
Methods in net.jini.space with parameters of type Entry | |
---|---|
EventRegistration |
JavaSpace.notify(Entry tmpl,
Transaction txn,
RemoteEventListener listener,
long lease,
MarshalledObject handback)
When entries are written that match this template notify the given listener with a RemoteEvent that
includes the handback object. |
Entry |
JavaSpace.read(Entry tmpl,
Transaction txn,
long timeout)
Read any matching entry from the space, blocking until one exists. |
Entry |
JavaSpace.readIfExists(Entry tmpl,
Transaction txn,
long timeout)
Read any matching entry from the space, returning null if there is currently is none. |
Entry |
JavaSpace.snapshot(Entry e)
The process of serializing an entry for transmission to a JavaSpaces service will be identical if the same entry is used twice. |
Entry |
JavaSpace.take(Entry tmpl,
Transaction txn,
long timeout)
Take a matching entry from the space, waiting until one exists. |
Entry |
JavaSpace.takeIfExists(Entry tmpl,
Transaction txn,
long timeout)
Take a matching entry from the space, returning null if there is currently is none. |
Lease |
JavaSpace.write(Entry entry,
Transaction txn,
long lease)
Write a new entry into the space. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |