public interface IDistributedServiceRegistryService extends IDistributedKVStoreService
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.util.Collection<ServiceRegistration>> |
lookup(java.lang.String key)
Lookup a key in the ring and return the saved value, if any.
|
jadex.commons.future.IFuture<java.util.Collection<ServiceRegistration>> |
lookup(java.lang.String key,
IID idHash)
Lookup a key in the ring and return the saved value, if any.
|
jadex.commons.future.IFuture<java.lang.Void> |
publish(java.lang.String typeName,
IServiceIdentifier serviceIdentifier)
Publish a service in the distributed registry.
|
add, getLocalKeySet, isInitialized, lookupResponsibleStore, pullEntries, pushEntries, put, setInitialized, setRingServicejadex.commons.future.IFuture<java.lang.Void> publish(java.lang.String typeName,
IServiceIdentifier serviceIdentifier)
typeName - Type of the service (fully-qualified)serviceIdentifier - SID of the servicejadex.commons.future.IFuture<java.util.Collection<ServiceRegistration>> lookup(java.lang.String key, IID idHash)
IDistributedKVStoreServicelookup in interface IDistributedKVStoreServicekey - Requested key.idHash - The hashed key to find the corresponding node.jadex.commons.future.IFuture<java.util.Collection<ServiceRegistration>> lookup(java.lang.String key)
IDistributedKVStoreServicelookup in interface IDistributedKVStoreServicekey - Requested key.