module Plasma_netfs:Accessing PlasmaFS via thesig
..end
Netfs.stream_fs
interfaceclass netfs :?repl:int -> ?verbose:bool -> ?notranslate:bool -> Plasma_client.plasma_cluster ->
Netfs.stream_fs
val netfs : ?repl:int ->
?verbose:bool ->
?notranslate:bool -> Plasma_client.plasma_cluster -> Netfs.stream_fs
stream_fs
interface:
read
and write
are fully implemented, and always use
streaming mode. The I/O bases on the buffered access layer
provided by Plasma_client
, and so it is a good idea to
configure some number of buffers to use, with
Plasma_client.configure_buffer
.
repl
: The replication factor for new files. Defaults to 0, i.e.
to the server default.verbose
: Whether to output progress messages to stderr for
all metadata modifications.
Defaults to false
. (This exists for the command-line utility
plasma
.)notranslate
: Normally, all Plasma_error
exceptions are
translated to Unix_error
. By setting this switch the translation
is not done.Mapred_fs.plasma_filesystem
stream_fs
. It exists only as a
definition step for Mapred_fs.plasma_filesystem
. Please
don't use directly.typex_write_flag =
[ `Binary
| `Create
| `Dummy
| `Exclusive
| `Location of string list
| `Repl of int
| `Streaming
| `Truncate ]
typex_write_file_flag =
[ `Binary
| `Create
| `Dummy
| `Exclusive
| `Link
| `Location of string list
| `Repl of int
| `Truncate ]
typex_copy_flag =
[ `Dummy | `Location of string list | `Repl of int ]
typex_link_flag =
[ `Dummy ]
class type x_stream_fs =object
..end
val x_netfs : ?repl:int ->
?verbose:bool ->
?notranslate:bool -> Plasma_client.plasma_cluster -> x_stream_fs
class x_netfs :?repl:int -> ?verbose:bool -> ?notranslate:bool -> Plasma_client.plasma_cluster ->
x_stream_fs