| JumboFile Constructor |
Initializes a new instance of the
JumboFile class.
Namespace:
Ookii.Jumbo.Dfs.FileSystem
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax public JumboFile(
string fullPath,
string name,
DateTime dateCreated,
long size,
long blockSize,
int replicationFactor,
RecordStreamOptions recordOptions,
bool isOpenForWriting,
IEnumerable<Guid> blocks
)
Public Sub New (
fullPath As String,
name As String,
dateCreated As DateTime,
size As Long,
blockSize As Long,
replicationFactor As Integer,
recordOptions As RecordStreamOptions,
isOpenForWriting As Boolean,
blocks As IEnumerable(Of Guid)
)
public:
JumboFile(
String^ fullPath,
String^ name,
DateTime dateCreated,
long long size,
long long blockSize,
int replicationFactor,
RecordStreamOptions recordOptions,
bool isOpenForWriting,
IEnumerable<Guid>^ blocks
)
new :
fullPath : string *
name : string *
dateCreated : DateTime *
size : int64 *
blockSize : int64 *
replicationFactor : int *
recordOptions : RecordStreamOptions *
isOpenForWriting : bool *
blocks : IEnumerable<Guid> -> JumboFile
Parameters
- fullPath
- Type: SystemString
The full path of the file. - name
- Type: SystemString
The name of the file. - dateCreated
- Type: SystemDateTime
The date and time the file was created. - size
- Type: SystemInt64
The size of the file. - blockSize
- Type: SystemInt64
The block size of the file. - replicationFactor
- Type: SystemInt32
The number of replicas. - recordOptions
- Type: Ookii.Jumbo.IORecordStreamOptions
The record options. - isOpenForWriting
- Type: SystemBoolean
if set to the file is open for writing. - blocks
- Type: System.Collections.GenericIEnumerableGuid
The blocks that make up this file. May be .
See Also