Interface ServiceOps
-
- All Known Implementing Classes:
SelfKeymasterInternalServiceOps,SelfKeymasterServiceOps,ZookeeperServiceDiscoveryOps,ZookeeperServiceOps
public interface ServiceOpsOperations available for services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkServiceget(NetworkService.Type serviceType)Returns the service instance to invoke, for the given type.List<NetworkService>list(NetworkService.Type serviceType)voidregister(NetworkService service)voidunregister(NetworkService service)
-
-
-
Method Detail
-
register
void register(NetworkService service)
-
unregister
void unregister(NetworkService service)
-
list
List<NetworkService> list(NetworkService.Type serviceType)
-
get
NetworkService get(NetworkService.Type serviceType)
Returns the service instance to invoke, for the given type.- Parameters:
serviceType- service type- Returns:
- service instance to invoke, for the given type
-
-