Click or drag to resize

DfsOutputStream Constructor (INameServerClientProtocol, String, Int32, Int32)

Initializes a new instance of the DfsOutputStream with the specified name server and file.

Namespace:  Ookii.Jumbo.Dfs
Assembly:  Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax
public DfsOutputStream(
	INameServerClientProtocol nameServer,
	string path,
	int blockSize,
	int replicationFactor
)

Parameters

nameServer
Type: Ookii.Jumbo.DfsINameServerClientProtocol
The INameServerClientProtocol interface of the name server for the distributed file system.
path
Type: SystemString
The path of the file to write.
blockSize
Type: SystemInt32
The size of the blocks of the file, or zero to use the file system default block size.
replicationFactor
Type: SystemInt32
The number of replicas to create of the file's blocks, or zero to use the file system default replication factor.
See Also