Plasma GitLab Archive
Projects Blog Knowledge

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*)
}
type discovered = {
   d_identity : string;
   d_size : int64;
}
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