Package | Description |
---|---|
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
net.jini.core.lookup |
These are the lookup service interfaces and classes.
|
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
org.openspaces.pu.container.servicegrid.deploy |
A package including the ability to deploy a processing unit onto the Service Grid.
|
Modifier and Type | Method and Description |
---|---|
ServiceItem |
Item.get()
Convert back to a ServiceItem.
|
ServiceItem |
RegistrarEvent.getServiceItem()
Returns the new state of the item, or null if the item was deleted from
the lookup service.
|
static ServiceItem[] |
Item.toServiceItem(ArrayList reps)
Converts an ArrayList of Item to an array of ServiceItem.
|
Constructor and Description |
---|
Item(ServiceItem item)
Converts a ServiceItem to an Item.
|
Modifier and Type | Field and Description |
---|---|
ServiceItem[] |
ServiceMatches.items
Matching items (up to maxMatches from lookup method).
|
Modifier and Type | Method and Description |
---|---|
abstract ServiceItem |
ServiceEvent.getServiceItem()
Returns the new state of the item, or null if the item was deleted
from the lookup service.
|
Modifier and Type | Method and Description |
---|---|
ServiceRegistration |
ServiceRegistrar.register(ServiceItem item,
long leaseDuration)
Register a new service or re-register an existing service.
|
Constructor and Description |
---|
ServiceMatches(ServiceItem[] items,
int totalMatches)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
ServiceItem |
ServiceDiscoveryEvent.getPostEventServiceItem()
Returns an instance of a
ServiceItem containing the
service reference corresponding to the given event. |
ServiceItem |
ServiceDiscoveryEvent.getPreEventServiceItem()
Returns an instance of a
ServiceItem containing the
service reference corresponding to the given event. |
ServiceItem |
LookupCache.lookup(ServiceItemFilter filter)
Finds a
ServiceItem object that satisfies the given
filter parameter. |
ServiceItem[] |
LookupCache.lookup(ServiceItemFilter filter,
int maxMatches)
Finds an array of instances of
ServiceItem that each
satisfy the given filter parameter. |
ServiceItem[] |
ServiceDiscoveryManager.lookup(ServiceTemplate tmpl,
int minMatches,
int maxMatches,
ServiceItemFilter filter,
long waitDur)
Queries each available lookup service in the managed set for service(s)
that match the input criteria.
|
ServiceItem[] |
ServiceDiscoveryManager.lookup(ServiceTemplate tmpl,
int maxMatches,
ServiceItemFilter filter)
Queries each available lookup service in the managed set for service(s)
that match the input criteria.
|
ServiceItem |
ServiceDiscoveryManager.lookup(ServiceTemplate tmpl,
ServiceItemFilter filter)
Queries each available lookup service in the set of lookup services
managed by the
ServiceDiscoveryManager (the managed
set) for a service reference that matches criteria defined by the
entity that invokes this method. |
ServiceItem |
ServiceDiscoveryManager.lookup(ServiceTemplate tmpl,
ServiceItemFilter filter,
long waitDur)
Queries each available lookup service in the managed set for a service
that matches the input criteria.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServiceItemFilter.check(ServiceItem item)
This method defines the implementation of the additional selection
criteria (additional matching and/or proxy preparation) to apply to a
ServiceItem object found
through standard template matching. |
Constructor and Description |
---|
ServiceDiscoveryEvent(Object source,
ServiceItem preEventItem,
ServiceItem postEventItem)
The constructor of
ServiceDiscoveryEvent takes
three arguments:
An instance of Object corresponding to the
instance of LookupCache from which the given event
originated
A ServiceItem reference representing the state
of the service (associated with the given event) prior to the
occurrence of the event
A ServiceItem reference representing the state
of the service after the occurrence of the event
If null is passed as the source parameter for the
constructor, a NullPointerException will be thrown. |
Modifier and Type | Method and Description |
---|---|
static ServiceItem[] |
ServiceFinder.find(String name,
Class type,
long wait,
String[] groups,
LookupLocator[] locators) |
Copyright © GigaSpaces.