module Nn_datastore_news:Getting news about datastores and their availabilitysig..end
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
is delayed.
wait option is not set.val force : unit -> unitval list : ?wait:bool -> unit -> Nn_datastores.datastore listval get : ?wait:bool -> string -> Nn_datastores.datastoreval is_alive : ?wait:bool -> string -> boolis_alive identity: Returns whether the datanode having this store
is good as seen by the monitor. Fails if the monitor is not started.val signal_db_change : int -> Unix.sockaddr option -> unitsignal_db_change id node_opt: Signal to the monitor that
the db row with id has changed and must be reread. If node_opt
is given, it is tried to discover this datanode, and to attach
it to the systemval receive_message : Netplex_types.container -> string -> string array -> unitreceive_message hook in order to
subscribe to this news channelval post_add_hook : Netplex_types.socket_service -> Netplex_types.controller -> unitpost_add_hook