public interface IDistributedServiceRegistryService extends IDistributedKVStoreService
Modifier and Type | Method and Description |
---|---|
IFuture<java.util.Collection<ServiceRegistration>> |
lookup(java.lang.String key)
Lookup a key in the ring and return the saved value, if any.
|
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.
|
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, setRingService
IFuture<java.lang.Void> publish(java.lang.String typeName, IServiceIdentifier serviceIdentifier)
typeName
- Type of the service (fully-qualified)serviceIdentifier
- SID of the serviceIFuture<java.util.Collection<ServiceRegistration>> lookup(java.lang.String key, IID idHash)
IDistributedKVStoreService
lookup
in interface IDistributedKVStoreService
key
- Requested key.idHash
- The hashed key to find the corresponding node.IFuture<java.util.Collection<ServiceRegistration>> lookup(java.lang.String key)
IDistributedKVStoreService
lookup
in interface IDistributedKVStoreService
key
- Requested key.