 | INameServerClientProtocolGetDataServerBlockCount Method |
Gets the number of blocks from the specified block list that the data server has.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxint 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 ServerAddress
- The data server whose blocks to check.
- blocks Guid
- The blocks to check for.
Return Value
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