 | PartitionFileIndexGetPartitionSize Method |
Gets the size of the specified partition.
Namespace:
Ookii.Jumbo.Jet.Channels
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntaxpublic long GetPartitionSize(
int partition,
bool includeSegmentHeader
)
Public Function GetPartitionSize (
partition As Integer,
includeSegmentHeader As Boolean
) As Long
public:
long long GetPartitionSize(
int partition,
bool includeSegmentHeader
)
member GetPartitionSize :
partition : int *
includeSegmentHeader : bool -> int64
Parameters
- partition
- Type: SystemInt32
The partition. - includeSegmentHeader
- Type: SystemBoolean
If set to , include an additional 8 bytes for each segment.
Return Value
Type:
Int64The size of the partition.
See Also