Package io.camunda.zeebe.util.sched
Class ActorScheduler.ActorSchedulerBuilder
java.lang.Object
io.camunda.zeebe.util.sched.ActorScheduler.ActorSchedulerBuilder
- Enclosing class:
- ActorScheduler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()intintdouble[]setActorClock(ActorClock actorClock) setActorThreadFactory(ActorScheduler.ActorThreadFactory actorThreadFactory) setActorTimerQueue(ActorTimerQueue actorTimerQueue) setCpuBoundActorThreadCount(int actorThreadCount) setIoBoundActorThreadCount(int ioBoundActorsThreadCount) setSchedulerName(String schedulerName)
-
Constructor Details
-
ActorSchedulerBuilder
public ActorSchedulerBuilder()
-
-
Method Details
-
getSchedulerName
-
setSchedulerName
-
getActorClock
-
setActorClock
-
getActorTimerQueue
-
setActorTimerQueue
-
getCpuBoundActorThreadCount
public int getCpuBoundActorThreadCount() -
setCpuBoundActorThreadCount
-
getIoBoundActorThreadCount
public int getIoBoundActorThreadCount() -
setIoBoundActorThreadCount
public ActorScheduler.ActorSchedulerBuilder setIoBoundActorThreadCount(int ioBoundActorsThreadCount) -
getPriorityQuotas
public double[] getPriorityQuotas() -
getActorThreadFactory
-
setActorThreadFactory
public ActorScheduler.ActorSchedulerBuilder setActorThreadFactory(ActorScheduler.ActorThreadFactory actorThreadFactory) -
getActorExecutor
-
getCpuBoundActorThreads
-
getIoBoundActorThreads
-
build
-