com
.
harrys
.
hyppo
.
worker
.
actor
WorkerFSM
Related Docs:
object WorkerFSM
|
package actor
final
class
WorkerFSM
extends
LoggingFSM
[
WorkerState
,
CommanderState
] with
ActorInject
Created by jpetty on 10/30/15.
Linear Supertypes
ActorInject
,
LoggingFSM
[
WorkerState
,
CommanderState
],
FSM
[
WorkerState
,
CommanderState
],
ActorLogging
,
Listeners
,
Actor
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
WorkerFSM
ActorInject
LoggingFSM
FSM
ActorLogging
Listeners
Actor
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
WorkerFSM
(
injectorProvider:
Provider
[
Injector
]
,
config:
WorkerConfig
,
commanderFactory:
Factory
,
taskFSMFactory:
Factory
,
delegator:
ActorRef
,
connection:
ActorRef
)
Annotations
@Inject
()
Type Members
type
Event
=
akka.actor.FSM.Event
[
CommanderState
]
Definition Classes
FSM
type
Receive
=
PartialFunction
[
Any
,
Unit
]
Definition Classes
Actor
type
State
=
akka.actor.FSM.State
[
WorkerState
,
CommanderState
]
Definition Classes
FSM
type
StateFunction
=
PartialFunction
[
Event
,
State
]
Definition Classes
FSM
type
StopEvent
=
akka.actor.FSM.StopEvent
[
WorkerState
,
CommanderState
]
Definition Classes
FSM
type
Timeout
=
Option
[
FiniteDuration
]
Definition Classes
FSM
final
class
TransformHelper
extends
AnyRef
Definition Classes
FSM
type
TransitionHandler
=
PartialFunction
[(
WorkerState
,
WorkerState
),
Unit
]
Definition Classes
FSM
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
val
->
:
akka.actor.FSM.->
.type
Definition Classes
FSM
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
Event
:
akka.actor.FSM.Event
.type
Definition Classes
FSM
val
StateTimeout
:
akka.actor.FSM.StateTimeout
.type
Definition Classes
FSM
val
StopEvent
:
akka.actor.FSM.StopEvent
.type
Definition Classes
FSM
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
final
def
cancelTimer
(
name:
String
)
:
Unit
Definition Classes
FSM
val
channelActor
:
ActorRef
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
implicit
val
context
:
ActorContext
Definition Classes
Actor
def
createCommanderActor
(
execution:
WorkQueueExecution
,
jarFiles:
Seq
[
LoadedJarFile
]
)
:
ActiveCommander
def
createTaskActor
(
execution:
WorkQueueExecution
,
commander:
ActorRef
)
:
ActorRef
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getLog
:
IndexedSeq
[
LogEntry
[
WorkerState
,
CommanderState
]]
Attributes
protected
Definition Classes
LoggingFSM
def
gossip
(
msg:
Any
)
(
implicit
sender:
ActorRef
)
:
Unit
Attributes
protected
Definition Classes
Listeners
final
def
goto
(
nextStateName:
WorkerState
)
:
State
Definition Classes
FSM
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
initialize
()
:
Unit
Definition Classes
FSM
def
initializeWorkerChannel
(
channel:
Channel
,
actor:
ActorRef
)
:
Unit
def
injectActor
(
create: ⇒
Actor
,
name:
String
)
(
implicit
factory:
ActorRefFactory
)
:
ActorRef
Attributes
protected
Definition Classes
ActorInject
def
injectActor
(
create: ⇒
Actor
)
(
implicit
factory:
ActorRefFactory
)
:
ActorRef
Attributes
protected
Definition Classes
ActorInject
def
injectActor
[
A <:
Actor
]
(
name:
String
)
(
implicit
factory:
ActorRefFactory
,
tag:
ClassTag
[
A
]
)
:
ActorRef
Attributes
protected
Definition Classes
ActorInject
def
injectActor
[
A <:
Actor
]
(
implicit
factory:
ActorRefFactory
,
tag:
ClassTag
[
A
]
)
:
ActorRef
Attributes
protected
Definition Classes
ActorInject
def
injectTopActor
[
A <:
Actor
]
(
name:
String
)
(
implicit
tag:
ClassTag
[
A
]
)
:
ActorRef
Attributes
protected
Definition Classes
ActorInject
def
injectTopActor
[
A <:
Actor
]
(
implicit
tag:
ClassTag
[
A
]
)
:
ActorRef
Attributes
protected
Definition Classes
ActorInject
def
injector
:
Injector
Attributes
protected
Definition Classes
WorkerFSM
→ ActorInject
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isTimerActive
(
name:
String
)
:
Boolean
Definition Classes
FSM
val
jarLoadingActor
:
ActorRef
def
listenerManagement
:
akka.actor.Actor.Receive
Attributes
protected
Definition Classes
Listeners
val
listeners
:
Set
[
ActorRef
]
Attributes
protected
Definition Classes
Listeners
def
log
:
LoggingAdapter
Definition Classes
ActorLogging
def
logDepth
:
Int
Definition Classes
WorkerFSM
→ LoggingFSM
def
logTermination
(
reason:
Reason
)
:
Unit
Attributes
protected
Definition Classes
FSM
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
nextStateData
:
CommanderState
Definition Classes
FSM
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
onTermination
(
terminationHandler:
PartialFunction
[
StopEvent
,
Unit
]
)
:
Unit
Definition Classes
FSM
final
def
onTransition
(
transitionHandler:
TransitionHandler
)
:
Unit
Definition Classes
FSM
def
postRestart
(
reason:
Throwable
)
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
postStop
()
:
Unit
Definition Classes
FSM → Actor
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]
)
def
receive
:
Receive
Definition Classes
FSM → Actor
implicit final
val
self
:
ActorRef
Definition Classes
Actor
final
def
sender
()
:
ActorRef
Definition Classes
Actor
final
def
setStateTimeout
(
state:
WorkerState
,
timeout:
Timeout
)
:
Unit
Definition Classes
FSM
final
def
setTimer
(
name:
String
,
msg:
Any
,
timeout:
FiniteDuration
,
repeat:
Boolean
)
:
Unit
Definition Classes
FSM
def
startPollingForWork
()
:
Unit
final
def
startWith
(
stateName:
WorkerState
,
stateData:
CommanderState
,
timeout:
Timeout
)
:
Unit
Definition Classes
FSM
final
def
stateData
:
CommanderState
Definition Classes
FSM
final
def
stateName
:
WorkerState
Definition Classes
FSM
final
def
stay
()
:
State
Definition Classes
FSM
final
def
stop
(
reason:
Reason
,
stateData:
CommanderState
)
:
State
Definition Classes
FSM
final
def
stop
(
reason:
Reason
)
:
State
Definition Classes
FSM
final
def
stop
()
:
State
Definition Classes
FSM
def
stopPollingForWork
()
:
Unit
def
supervisorStrategy
:
SupervisorStrategy
Definition Classes
Actor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
implicit final
def
total2pf
(
transitionHandler: (
WorkerState
,
WorkerState
) ⇒
Unit
)
:
TransitionHandler
Definition Classes
FSM
final
def
transform
(
func:
StateFunction
)
:
TransformHelper
Definition Classes
FSM
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
(
...
)
final
def
when
(
stateName:
WorkerState
,
stateTimeout:
FiniteDuration
)
(
stateFunction:
StateFunction
)
:
Unit
Definition Classes
FSM
final
def
whenUnhandled
(
stateFunction:
StateFunction
)
:
Unit
Definition Classes
FSM
Inherited from
ActorInject
Inherited from
LoggingFSM
[
WorkerState
,
CommanderState
]
Inherited from
FSM
[
WorkerState
,
CommanderState
]
Inherited from
ActorLogging
Inherited from
Listeners
Inherited from
Actor
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Created by jpetty on 10/30/15.