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.
|
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 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.