kanaloa
.
reactive
.
dispatcher
.
queue
DefaultQueue
Related Doc:
package queue
case class
DefaultQueue
(
dispatchHistorySettings:
DispatchHistorySettings
,
defaultWorkSettings:
WorkSettings
,
metricsCollector:
MetricsCollector
=
NoOpMetricsCollector
)
extends
QueueWithoutBackPressure
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
QueueWithoutBackPressure
,
Queue
,
MessageScheduler
,
ActorLogging
,
Actor
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DefaultQueue
Serializable
Serializable
Product
Equals
QueueWithoutBackPressure
Queue
MessageScheduler
ActorLogging
Actor
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
DefaultQueue
(
dispatchHistorySettings:
DispatchHistorySettings
,
defaultWorkSettings:
WorkSettings
,
metricsCollector:
MetricsCollector
=
NoOpMetricsCollector
)
Type Members
type
Receive
=
PartialFunction
[
Any
,
Unit
]
Definition Classes
Actor
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
aroundPostRestart
(
reason:
Throwable
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPostStop
()
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPreRestart
(
reason:
Throwable
,
message:
Option
[
Any
]
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPreStart
()
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundReceive
(
receive:
akka.actor.Actor.Receive
,
msg:
Any
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
checkOverCapacity
(
qs:
QueueStatus
)
:
Boolean
Check if currently over capacity
Check if currently over capacity
returns
true if over capacity
Definition Classes
QueueWithoutBackPressure
→
Queue
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
implicit
val
context
:
ActorContext
Definition Classes
Actor
val
defaultWorkSettings
:
WorkSettings
Definition Classes
DefaultQueue
→
Queue
def
delayedMsg
(
delay:
FiniteDuration
,
msg:
Any
,
receiver:
ActorRef
=
self
)
:
Cancellable
Definition Classes
MessageScheduler
val
dispatchHistoryLength
:
Int
Definition Classes
Queue
val
dispatchHistorySettings
:
DispatchHistorySettings
Definition Classes
DefaultQueue
→
Queue
final
def
dispatchWork
(
status:
QueueStatus
,
dispatched:
Int
=
0
,
retiring:
Boolean
=
false
)
:
QueueStatus
Attributes
protected
Definition Classes
Queue
Annotations
@tailrec
()
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
log
:
LoggingAdapter
Definition Classes
ActorLogging
def
maybeDelayedMsg
(
delayO:
Option
[
FiniteDuration
]
,
msg:
Any
,
receiver:
ActorRef
=
self
)
:
Option
[
Cancellable
]
Definition Classes
MessageScheduler
val
metricsCollector
:
MetricsCollector
Definition Classes
DefaultQueue
→
Queue
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onQueuedWorkExhausted
()
:
Unit
Definition Classes
Queue
def
postRestart
(
reason:
Throwable
)
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
postStop
()
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
preRestart
(
reason:
Throwable
,
message:
Option
[
Any
]
)
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
preStart
()
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
final
def
processing
(
status:
QueueStatus
)
:
Receive
Definition Classes
Queue
final
def
receive
:
Receive
Definition Classes
Queue
→ Actor
final
def
retiring
(
status:
QueueStatus
)
:
Receive
Definition Classes
Queue
implicit final
val
self
:
ActorRef
Definition Classes
Actor
final
def
sender
()
:
ActorRef
Definition Classes
Actor
def
supervisorStrategy
:
SupervisorStrategy
Definition Classes
Actor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
unhandled
(
message:
Any
)
:
Unit
Definition Classes
Actor
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
QueueWithoutBackPressure
Inherited from
Queue
Inherited from
MessageScheduler
Inherited from
ActorLogging
Inherited from
Actor
Inherited from
AnyRef
Inherited from
Any
Ungrouped