Search
Preparing search index...
The search index is not available
actionhero
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ActionHeroCluster
Class ActionHeroCluster
Hierarchy
ActionHeroCluster
Index
Constructors
constructor
Properties
flap
Count
flap
Timer
loggers
options
state
workers
workers
ToRestart
Methods
build
Env
clear
Pid
File
configure
Path
defaults
log
sleep
sort
Workers
start
stop
work
write
Pid
File
Constructors
constructor
new
Action
Hero
Cluster
(
args
:
any
)
:
ActionHeroCluster
Parameters
args:
any
Returns
ActionHeroCluster
Properties
flap
Count
flap
Count
:
number
flap
Timer
flap
Timer
:
Timeout
loggers
loggers
:
Array
<
Logger
>
options
options
:
object
Type declaration
[
key:
string
]:
any
state
state
:
string
workers
workers
:
Array
<
ClusterWorker
>
workers
ToRestart
workers
ToRestart
:
Array
<
number
>
Methods
build
Env
build
Env
(
workerId
:
any
)
:
any
Parameters
workerId:
any
Returns
any
clear
Pid
File
clear
Pid
File
(
)
:
void
Returns
void
configure
Path
configure
Path
(
p
:
any
)
:
Promise
<
boolean
>
Parameters
p:
any
Returns
Promise
<
boolean
>
Private
defaults
defaults
(
)
:
object
Returns
object
args
:
string
build
Env
:
null
exec
Path
:
string
expected
Workers
:
number
flap
Window
:
number
id
:
string
log
File
:
string
log
Path
:
string
pid
Path
:
string
pidfile
:
string
stop
Timeout
:
number
worker
Title
Prefix
:
string
log
log
(
message
:
any
, severity
:
any
)
:
void
Parameters
message:
any
severity:
any
Returns
void
sleep
sleep
(
time
:
any
)
:
Promise
<
void
>
Parameters
time:
any
Returns
Promise
<
void
>
sort
Workers
sort
Workers
(
)
:
void
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
work
work
(
)
:
void
Returns
void
write
Pid
File
write
Pid
File
(
)
:
void
Returns
void
Globals
Action
Hero
Cluster
constructor
flap
Count
flap
Timer
loggers
options
state
workers
workers
ToRestart
build
Env
clear
Pid
File
configure
Path
defaults
log
sleep
sort
Workers
start
stop
work
write
Pid
File
Generated using
TypeDoc