Docs GODI Archive
Projects Blog Knowledge

Look up function:

(e.g. "List.find" or "keysym")
More options

Module Nn_datastores


module Nn_datastores: sig .. end
Datastore types


type datastore = {
   id : int; (*ID in the database*)
   identity : string; (*identity string*)
   size : int64; (*size in blocks*)
   enabled : bool; (*whether administratively enabled*)
   node : Unix.sockaddr option; (*whether a datanode has this store*)
   alive : bool; (*Whether it is known to be alive*)
}
type discovered = {
   d_identity : string;
   d_size : int64;
}
val null_datastore : datastore
val to_xdr : datastore -> Pfs_rpcapi_aux.ds_info
val of_xdr : Pfs_rpcapi_aux.ds_info -> datastore
Convert datastore to/from the wire representation
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml