Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Sandcube::CLI::Supervisor
Inherits
Reference
<
Object
Constructors
new
(timeout :
Time::Span
= 60.seconds, grace :
Time::Span
= 15.seconds)
Source
Class methods
command_ready
(command :
String
, args :
Array
(
String
)) :
Bool
Source
http_ready
(socket :
String
|
Nil
= nil, host = "127.0.0.1", port = 7432) :
Bool
Source
unused_socket!
(path :
String
) :
Nil
Source
Instance methods
check!
Source
children
Source
monitor
Source
run
Source
shutdown
Source
start
(name :
String
, command :
String
, args :
Array
(
String
), env :
Hash
(
String
,
String
), directory :
String
, &ready : ->
Bool
) :
Child
Source
stopping
Source
stopping=
(stopping :
Bool
)
Source