Uses of Class
net.jini.core.lookup.ServiceItem
Packages that use ServiceItem
Package
Description
Provides GigaSpaces low level services
Provides implementations of
ServiceRegistrar.Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
A package including the ability to deploy a processing unit onto the Service Grid.
-
Uses of ServiceItem in com.gigaspaces.admin.security
Methods in com.gigaspaces.admin.security with parameters of type ServiceItemModifier and TypeMethodDescriptionvoidAuthenticationListener.serviceAuthenticated(ServiceItem serviceItem, boolean isLoginSucceed, Authentication authentication, String failureMessage) -
Uses of ServiceItem in com.gigaspaces.cluster.activeelection
Methods in com.gigaspaces.cluster.activeelection with parameters of type ServiceItemModifier and TypeMethodDescriptionintPriorityElectionFilter.compareTo(ServiceItem service1, ServiceItem service2) PriorityElectionFilter.getCandidateEntry(ServiceItem service) Method parameters in com.gigaspaces.cluster.activeelection with type arguments of type ServiceItemModifier and TypeMethodDescriptionbooleanPriorityElectionFilter.isAcceptable(ActiveElectionState.State acquireState, List<ServiceItem> candidateSrv) This method provides the condition to advance the manage member toacquireStatestate. -
Uses of ServiceItem in com.gigaspaces.cluster.activeelection.core
Methods in com.gigaspaces.cluster.activeelection.core that return ServiceItemModifier and TypeMethodDescriptionprotected ServiceItemActiveElectionManager.findActive()Find an ACTIVE service with the election template.ActiveElectionEvent.getActiveServiceItem()SplitBrainServiceEntry.getService()protected ServiceItemActiveElectionManager.pollStateUntilAvailable(ActiveElectionState.State pollingState) Poll the desired service state on naming service while available, when thepollingStateis not available make an attempt to find an ACTIVE state, if ACTIVE was found notify theIActiveElectionListenerand return the active service.Methods in com.gigaspaces.cluster.activeelection.core that return types with arguments of type ServiceItemModifier and TypeMethodDescriptionprotected List<ServiceItem>ActiveElectionManager.lookup(ActiveElectionState.State state, int maxMatches) Lookup the services with desired state.Methods in com.gigaspaces.cluster.activeelection.core with parameters of type ServiceItemModifier and TypeMethodDescriptionintIActiveElectionDecisionFilter.compareTo(ServiceItem service1, ServiceItem service2) IActiveElectionDecisionFilter.getCandidateEntry(ServiceItem service) protected voidActiveElectionManager.notifyListenerOnActive(ServiceItem activeService) notify theIActiveElectionListenerabout elected ACTIVE service or an ACTIVE on split-brain occurrence.voidActiveElectionManager.onActiveDiscoveryCheckExtraBackup(ServiceItem activeServiceItem) A backup Space verifies that it is a replication target of an active primary Space.Method parameters in com.gigaspaces.cluster.activeelection.core with type arguments of type ServiceItemModifier and TypeMethodDescriptionbooleanIActiveElectionDecisionFilter.isAcceptable(ActiveElectionState.State advanceState, List<ServiceItem> candidateSrv) Returnstrueif the managed service is acceptable to advance the state toadvanceState.protected voidActiveElectionManager.onSplitBrain(List<ServiceItem> splitActives) The callback method fromSplitBrainControlleron 2 or more identified ACTIVE services.Constructors in com.gigaspaces.cluster.activeelection.core with parameters of type ServiceItemModifierConstructorDescriptionSplitBrainServiceEntry(ServiceItem service, ServiceReplicationStatus replicationStatus, ICandidateEntry electionPriorityEntry) -
Uses of ServiceItem in com.gigaspaces.internal.naming
Methods in com.gigaspaces.internal.naming that return ServiceItemModifier and TypeMethodDescriptionINamingService.lookup(ServiceTemplate srvTemplate, int maxMatches, ServiceItemFilter filter) Queries the naming service in the managed set for service(s) that match the input criteria.LookupNamingService.lookup(ServiceTemplate srvTemplate, int maxMatches, ServiceItemFilter filter) -
Uses of ServiceItem in com.gigaspaces.internal.service
Methods in com.gigaspaces.internal.service with parameters of type ServiceItemModifier and TypeMethodDescriptionstatic SecuredServiceServiceItemUtils.getSecuredService(ServiceItem serviceItem) static SecuredServiceServiceItemUtils.getSecuredServiceIfRelevant(ServiceItem serviceItem) static StringServiceItemUtils.getSpaceMemberName(ServiceItem serviceItem) static IDirectSpaceProxyServiceItemUtils.getSpaceProxy(ServiceItem serviceItem) static IDirectSpaceProxyServiceItemUtils.getSpaceProxyIfRelevant(ServiceItem serviceItem) -
Uses of ServiceItem in com.j_spaces.kernel
Methods in com.j_spaces.kernel with parameters of type ServiceItemModifier and TypeMethodDescriptionstatic StringJSpaceUtilities.getJMXConnectionUrl(ServiceItem serviceItem) Get the String value found in the JMXConnection entry, or null if the attribute set does not include a JMXConnectionstatic EntryJSpaceUtilities.getServiceItemLookupAttributeName(ServiceItem serviceItem, Class<? extends Entry> entryClass) static booleanJSpaceUtilities.isJMXRemotePortDefined(ServiceItem serviceItem) -
Uses of ServiceItem in com.sun.jini.reggie
Methods in com.sun.jini.reggie that return ServiceItemModifier and TypeMethodDescriptionItem.get()Convert back to a 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.Constructors in com.sun.jini.reggie with parameters of type ServiceItem -
Uses of ServiceItem in net.jini.core.lookup
Fields in net.jini.core.lookup declared as ServiceItemModifier and TypeFieldDescriptionServiceMatches.itemsMatching items (up to maxMatches from lookup method).Methods in net.jini.core.lookup that return ServiceItemModifier and TypeMethodDescriptionabstract ServiceItemServiceEvent.getServiceItem()Returns the new state of the item, or null if the item was deleted from the lookup service.Methods in net.jini.core.lookup with parameters of type ServiceItemModifier and TypeMethodDescriptionServiceRegistrar.register(ServiceItem item, long leaseDuration) Register a new service or re-register an existing service.Constructors in net.jini.core.lookup with parameters of type ServiceItemModifierConstructorDescriptionServiceMatches(ServiceItem[] items, int totalMatches) Simple constructor. -
Uses of ServiceItem in net.jini.lookup
Methods in net.jini.lookup that return ServiceItemModifier and TypeMethodDescriptionServiceDiscoveryEvent.getPostEventServiceItem()Returns an instance of aServiceItemcontaining the service reference corresponding to the given event.ServiceDiscoveryEvent.getPreEventServiceItem()Returns an instance of aServiceItemcontaining the service reference corresponding to the given event.LookupCache.lookup(ServiceItemFilter filter) Finds aServiceItemobject that satisfies the givenfilterparameter.LookupCache.lookup(ServiceItemFilter filter, int maxMatches) Finds an array of instances ofServiceItemthat each satisfy the givenfilterparameter.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.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.ServiceDiscoveryManager.lookup(ServiceTemplate tmpl, ServiceItemFilter filter) Queries each available lookup service in the set of lookup services managed by theServiceDiscoveryManager(the managed set) for a service reference that matches criteria defined by the entity that invokes this method.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.Methods in net.jini.lookup with parameters of type ServiceItemModifier and TypeMethodDescriptionbooleanServiceItemFilter.check(ServiceItem item) This method defines the implementation of the additional selection criteria (additional matching and/or proxy preparation) to apply to aServiceItemobject found through standard template matching.Constructors in net.jini.lookup with parameters of type ServiceItemModifierConstructorDescriptionServiceDiscoveryEvent(Object source, ServiceItem preEventItem, ServiceItem postEventItem) The constructor ofServiceDiscoveryEventtakes three arguments: An instance ofObjectcorresponding to the instance ofLookupCachefrom which the given event originated -
Uses of ServiceItem in org.openspaces.pu.container.servicegrid.deploy
Methods in org.openspaces.pu.container.servicegrid.deploy that return ServiceItemModifier and TypeMethodDescriptionstatic ServiceItem[]ServiceFinder.find(String name, Class type, long wait, String[] groups, LookupLocator[] locators)