Adding support for BoundedTransferQueue to EBEDD

This commit is contained in:
Viktor Klang 2010-09-06 19:12:05 +02:00
parent db5a8c1b6a
commit 4841996520
7 changed files with 60 additions and 29 deletions

View file

@ -6,12 +6,12 @@ package se.scalablesolutions.akka.dispatch
import java.util.List
import se.scalablesolutions.akka.util.{HashCode, Logging}
import se.scalablesolutions.akka.actor.{Actor, ActorRef, ActorInitializationException}
import org.multiverse.commitbarriers.CountDownCommitBarrier
import se.scalablesolutions.akka.AkkaException
import java.util.concurrent.{ConcurrentSkipListSet}
import se.scalablesolutions.akka.util.{Duration, HashCode, Logging}
/**
* @author <a href="http://jonasboner.com">Jonas Bon&#233;r</a>
@ -66,6 +66,10 @@ trait MessageQueue {
def append(handle: MessageInvocation)
}
/* Tells the dispatcher that it should create a bounded mailbox with the specified push timeout
*/
case class BoundedMailbox(capacity: Int, pushTimeOut: Option[Duration])
/**
* @author <a href="http://jonasboner.com">Jonas Bon&#233;r</a>
*/