| 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
)
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
- 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