 | DfsOutputStream(INameServerClientProtocol, String, Int32, Int32) Constructor |
Initializes a new instance of the
DfsOutputStream with the specified name server and file.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic DfsOutputStream(
INameServerClientProtocol nameServer,
string path,
int blockSize,
int replicationFactor
)
Public Sub New (
nameServer As INameServerClientProtocol,
path As String,
blockSize As Integer,
replicationFactor As Integer
)
public:
DfsOutputStream(
INameServerClientProtocol^ nameServer,
String^ path,
int blockSize,
int replicationFactor
)
new :
nameServer : INameServerClientProtocol *
path : string *
blockSize : int *
replicationFactor : int -> DfsOutputStream
Parameters
- nameServer INameServerClientProtocol
- The INameServerClientProtocol interface of the name server for the distributed
file system.
- path String
- The path of the file to write.
- blockSize Int32
- The size of the blocks of the file, or zero to use the file system default block size.
- replicationFactor Int32
- The number of replicas to create of the file's blocks, or zero to use the file system default replication factor.
See Also