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