Package com.google.cloud.examples.nio
Class ParallelCountBytes
- java.lang.Object
-
- com.google.cloud.examples.nio.ParallelCountBytes
-
public class ParallelCountBytes extends Object
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 <file>
-
-
Constructor Summary
Constructors Constructor Description ParallelCountBytes()
-