| INameServerClientProtocolGetDataServerBlockCount Method |
Gets the number of blocks from the specified block list that the data server has.
Namespace:
Ookii.Jumbo.Dfs
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax int GetDataServerBlockCount(
ServerAddress dataServer,
Guid[] blocks
)
Function GetDataServerBlockCount (
dataServer As ServerAddress,
blocks As Guid()
) As Integer
int GetDataServerBlockCount(
ServerAddress^ dataServer,
array<Guid>^ blocks
)
abstract GetDataServerBlockCount :
dataServer : ServerAddress *
blocks : Guid[] -> int
Parameters
- dataServer
- Type: Ookii.JumboServerAddress
The data server whose blocks to check. - blocks
- Type: SystemGuid
The blocks to check for.
Return Value
Type:
Int32The number of blocks.
Remarks
This function returns the number of items in the intersection of blocks
and the block list for the specified server.
See Also