public class ActorQueueBuilder<T>
extends java.lang.Object
Constructor and Description |
---|
ActorQueueBuilder() |
Modifier and Type | Method and Description |
---|---|
ActorQueueApi<T> |
build() |
ActorQueueApi<T> |
build(ActorProcessor<? super T>... processors) |
com.caucho.env.actor.AbstractActorQueueBuilder<T> |
capacity(int capacity) |
int |
getCapacity() |
int |
getInitial() |
int |
getMultiworkerOffset() |
ActorProcessor<? super T>[] |
getProcessors() |
com.caucho.env.actor.AbstractActorQueueBuilder<T> |
initial(int initial) |
boolean |
isMultiworker() |
com.caucho.env.actor.AbstractActorQueueBuilder<T> |
multiworker(boolean isMultiworker) |
com.caucho.env.actor.AbstractActorQueueBuilder<T> |
multiworkerOffset(int offset) |
com.caucho.env.actor.AbstractActorQueueBuilder<T> |
processors(ActorProcessor<? super T>... processors) |
protected void |
validateBuilder() |
protected void |
validateFullBuilder() |
public ActorQueueApi<T> build()
public ActorQueueApi<T> build(ActorProcessor<? super T>... processors)
public com.caucho.env.actor.AbstractActorQueueBuilder<T> processors(ActorProcessor<? super T>... processors)
public ActorProcessor<? super T>[] getProcessors()
public com.caucho.env.actor.AbstractActorQueueBuilder<T> capacity(int capacity)
public int getCapacity()
public com.caucho.env.actor.AbstractActorQueueBuilder<T> initial(int initial)
public int getInitial()
public com.caucho.env.actor.AbstractActorQueueBuilder<T> multiworker(boolean isMultiworker)
public boolean isMultiworker()
public com.caucho.env.actor.AbstractActorQueueBuilder<T> multiworkerOffset(int offset)
public int getMultiworkerOffset()
protected void validateFullBuilder()
protected void validateBuilder()