Package io.zeebe.servicecontainer
Interface ServiceStartContext
-
- All Superinterfaces:
AsyncContext,ServiceContext
public interface ServiceStartContext extends ServiceContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidasync(ActorFuture<?> future)voidasync(ActorFuture<?> future, boolean interruptible)CompositeServiceBuildercreateComposite(ServiceName<Void> name)<S> ServiceBuilder<S>createService(ServiceName<S> name, Service<S> service)StringgetName()ActorSchedulergetScheduler()ServiceName<?>getServiceName()<S> ActorFuture<Boolean>hasService(ServiceName<S> name)<S> ActorFuture<Void>removeService(ServiceName<S> name)-
Methods inherited from interface io.zeebe.servicecontainer.ServiceContext
run
-
-
-
-
Method Detail
-
getName
String getName()
-
getServiceName
ServiceName<?> getServiceName()
-
createService
<S> ServiceBuilder<S> createService(ServiceName<S> name, Service<S> service)
-
createComposite
CompositeServiceBuilder createComposite(ServiceName<Void> name)
-
removeService
<S> ActorFuture<Void> removeService(ServiceName<S> name)
-
hasService
<S> ActorFuture<Boolean> hasService(ServiceName<S> name)
-
getScheduler
ActorScheduler getScheduler()
-
async
void async(ActorFuture<?> future, boolean interruptible)
-
async
default void async(ActorFuture<?> future)
- Specified by:
asyncin interfaceAsyncContext
-
-