Sets the resolver timeouts. This may be a single positive number or an array of positive numbers representing timeouts in seconds. If an array is specified, a DNS
request will retry and wait for each successive interval in the array until a successful response is received. Specifying nil
reverts to the default timeouts:
Example:
dns.timeouts = 3
Registers for notifications of event ev
on the proxied TupleSpace
. See TupleSpace#notify
Marks this TupleEntry
as canceled.
Called by TupleSpace
to notify this NotifyTemplateEntry
of a new event.
Registers for notifications of event
. Returns a NotifyTemplateEntry
. See NotifyTemplateEntry
for examples of how to listen for notifications.
event
can be:
A tuple was added
A tuple was taken or moved
A tuple was lost after being overwritten or expiring
The TupleSpace
will also notify you of the ‘close’ event when the NotifyTemplateEntry
has expired.
Return the authoritative instance of the command manager.
Returns self. Allows a CommandManager
instance to stand in for the class itself.
Run the command specified by args
.
Cleans up uninstalled files and invalid gem specifications