 | JumboFile Constructor |
Initializes a new instance of the
JumboFile class.
Namespace: Ookii.Jumbo.Dfs.FileSystemAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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 String
- The full path of the file.
- name String
- The name of the file.
- dateCreated DateTime
- The date and time the file was created.
- size Int64
- The size of the file.
- blockSize Int64
- The block size of the file.
- replicationFactor Int32
- The number of replicas.
- recordOptions RecordStreamOptions
- The record options.
- isOpenForWriting Boolean
- if set to the file is open for writing.
- blocks IEnumerableGuid
- The blocks that make up this file. May be .
See Also