|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.dispatch.Mailboxes
public class Mailboxes
Constructor Summary | |
---|---|
Mailboxes(ActorSystem.Settings settings,
EventStream eventStream,
DynamicAccess dynamicAccess,
ActorRef deadLetters)
|
Method Summary | |
---|---|
Mailbox |
deadLetterMailbox()
|
static java.lang.String |
DefaultMailboxId()
|
EventStream |
eventStream()
|
java.lang.Class<?> |
getMailboxRequirement(com.typesafe.config.Config config)
|
protected MailboxType |
getMailboxType(Props props,
com.typesafe.config.Config dispatcherConfig)
Finds out the mailbox type for an actor based on configuration, props and requirements. |
java.lang.Class<?> |
getProducedMessageQueueType(MailboxType mailboxType)
|
java.lang.Class<?> |
getRequiredType(java.lang.Class<? extends Actor> actorClass)
Return the required message queue type for this class if any. |
boolean |
hasRequiredType(java.lang.Class<? extends Actor> actorClass)
Check if this class can have a required message queue type. |
MailboxType |
lookup(java.lang.String id)
Returns a mailbox type as specified in configuration, based on the id, or if not defined None. |
MailboxType |
lookupByQueueType(java.lang.Class<?> queueType)
Returns a mailbox type as specified in configuration, based on the type, or if not defined None. |
static java.lang.String |
NoMailboxRequirement()
|
ActorSystem.Settings |
settings()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mailboxes(ActorSystem.Settings settings, EventStream eventStream, DynamicAccess dynamicAccess, ActorRef deadLetters)
Method Detail |
---|
public static final java.lang.String DefaultMailboxId()
public static final java.lang.String NoMailboxRequirement()
public ActorSystem.Settings settings()
public EventStream eventStream()
public Mailbox deadLetterMailbox()
public MailboxType lookup(java.lang.String id)
id
- (undocumented)
public MailboxType lookupByQueueType(java.lang.Class<?> queueType)
queueType
- (undocumented)
public java.lang.Class<?> getRequiredType(java.lang.Class<? extends Actor> actorClass)
actorClass
- (undocumented)
public java.lang.Class<?> getMailboxRequirement(com.typesafe.config.Config config)
public java.lang.Class<?> getProducedMessageQueueType(MailboxType mailboxType)
protected MailboxType getMailboxType(Props props, com.typesafe.config.Config dispatcherConfig)
props
- (undocumented)dispatcherConfig
- (undocumented)
public boolean hasRequiredType(java.lang.Class<? extends Actor> actorClass)
actorClass
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |