Package io.zeebe.servicecontainer
Interface ServiceContainer
-
- All Known Implementing Classes:
ServiceContainerImpl
public interface ServiceContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(long awaitTime, TimeUnit timeUnit)ActorFuture<Void>closeAsync()CompositeServiceBuildercreateComposite(ServiceName<Void> name)<S> ServiceBuilder<S>createService(ServiceName<S> name, Service<S> service)ActorFuture<Boolean>hasService(ServiceName<?> name)ActorFuture<Void>removeService(ServiceName<?> serviceName)voidstart()
-
-
-
Method Detail
-
start
void start()
-
hasService
ActorFuture<Boolean> hasService(ServiceName<?> name)
-
createService
<S> ServiceBuilder<S> createService(ServiceName<S> name, Service<S> service)
-
createComposite
CompositeServiceBuilder createComposite(ServiceName<Void> name)
-
removeService
ActorFuture<Void> removeService(ServiceName<?> serviceName)
-
close
void close(long awaitTime, TimeUnit timeUnit) throws TimeoutException, ExecutionException, InterruptedException
-
closeAsync
ActorFuture<Void> closeAsync()
-
-