public class ParallelCountBytesParallelCountBytes 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 Static Methods
main(String[] args)
public static void main(String[] args)See the class documentation.
| Parameter | |
|---|---|
| Name | Description |
args |
String[] |
| Exceptions | |
|---|---|
| Type | Description |
Exception |
|
Constructors
ParallelCountBytes()
public ParallelCountBytes()