public abstract class AbstractGigaSpacesService extends Object implements Remote, ServiceProxyAccessor, ILRMIService
| Modifier and Type | Field and Description | 
|---|---|
static long | 
SERVICE_ATTRIBUTE_MODIFY_AWAIT
Wait for 60 seconds for any attributes change 
 | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractGigaSpacesService(LifeCycle lifeCycle)  | 
protected  | 
AbstractGigaSpacesService(LifeCycle lifeCycle,
                         Uuid serviceUuid)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addLookupAttributes(Entry[] attributes)
Add attributes to the collection of attributes the JoinManager utility maintains. 
 | 
void | 
addLookupAttributes(Entry[] attributes,
                   long timeoutInMillis)
Add the lookup attributes with a specified timeout to wait for the request to complete. 
 | 
protected void | 
AppendInitialLookupAttributes(List<Entry> lookupAttributes)  | 
protected static Exporter | 
getExporter()
Returns an instance of Exporter. 
 | 
JoinManager | 
getJoinManager()  | 
LifeCycle | 
getLifeCycle()  | 
abstract String | 
getServiceName()  | 
protected String | 
getServiceTypeDescription()  | 
Uuid | 
getUuid()  | 
void | 
modifyLookupAttributes(Entry[] attrSetTemplates,
                      Entry[] attrSets)
Modify the current attribute sets. 
 | 
void | 
registerLookupService(String[] lookupGroups,
                     LookupLocator[] lookupLocators,
                     DiscoveryListener listener,
                     boolean useSharedLeaseRenewalManager)  | 
void | 
unregisterFromLookupService()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceProxypublic static final long SERVICE_ATTRIBUTE_MODIFY_AWAIT
protected AbstractGigaSpacesService(LifeCycle lifeCycle)
public Uuid getUuid()
public LifeCycle getLifeCycle()
public abstract String getServiceName()
getServiceName in interface ILRMIServicepublic JoinManager getJoinManager()
public void addLookupAttributes(Entry[] attributes)
attributes - - Array of Entry attributespublic void addLookupAttributes(Entry[] attributes, long timeoutInMillis) throws InterruptedException
InterruptedException - if this request was interrupted while waiting for completionpublic void modifyLookupAttributes(Entry[] attrSetTemplates, Entry[] attrSets)
attrSetTemplates - the templates for matching attribute setsattrSets - the modifications to make to matching setspublic void registerLookupService(String[] lookupGroups, LookupLocator[] lookupLocators, DiscoveryListener listener, boolean useSharedLeaseRenewalManager) throws ServiceRegistrationException
ServiceRegistrationExceptionpublic void unregisterFromLookupService()
protected String getServiceTypeDescription()
protected void AppendInitialLookupAttributes(List<Entry> lookupAttributes) throws ServiceRegistrationException
ServiceRegistrationExceptionprotected static Exporter getExporter()
Copyright © GigaSpaces.