module Nn_datastore_news:Getting news about datastores and their availability
The following functions assume a Netplex container as environment. The feed is first available when the first notification message has arrived.
Due to the nature of a feed, the information about datastore updates
waitoption is not set.
val list :
?wait:bool -> unit -> Nn_datastores.datastore list
val get :
?wait:bool -> string -> Nn_datastores.datastore
is_alive identity: Returns whether the datanode having this store is good as seen by the monitor. Fails if the monitor is not started.
signal_db_change id node_opt: Signal to the monitor that the db row with
idhas changed and must be reread. If
node_optis given, it is tried to discover this datanode, and to attach it to the system
receive_messagehook in order to subscribe to this news channel