Class ParallelCountBytes (0.124.7)

public class ParallelCountBytes

ParallelCountBytes will read through the whole file given as input.

This example shows how to go through all the contents of a file, in order, using multithreaded NIO reads. It prints a MD5 hash and reports how long it took.

See the README for compilation instructions. Run this code with

target/appassembler/bin/ParallelCountBytes 

Inheritance

java.lang.Object > ParallelCountBytes

Static Methods

main(String[] args)

public static void main(String[] args)

See the class documentation.

Parameter
NameDescription
argsString[]
Exceptions
TypeDescription
Exception

Constructors

ParallelCountBytes()

public ParallelCountBytes()