water.util
Class FileIntegrityChecker

java.lang.Object
  extended by jsr166y.ForkJoinTask<java.lang.Void>
      extended by jsr166y.CountedCompleter
          extended by water.H2O.H2OCountedCompleter
              extended by water.DTask<T>
                  extended by water.DRemoteTask<FileIntegrityChecker>
                      extended by water.util.FileIntegrityChecker
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.concurrent.Future<java.lang.Void>, Freezable

public class FileIntegrityChecker
extends DRemoteTask<FileIntegrityChecker>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class water.DRemoteTask
_fs, _is_local, _keys
 
Fields inherited from class water.DTask
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
 
Constructor Summary
FileIntegrityChecker(java.io.File root, boolean newApi)
           
 
Method Summary
static FileIntegrityChecker check(java.io.File r, boolean newApi)
           
 java.lang.String getFileName(int i)
           
 Key importFile(int i, Futures fs)
           
 void lcompute()
           
 byte priority()
           
 void reduce(FileIntegrityChecker o)
           
 int size()
           
 
Methods inherited from class water.DRemoteTask
alsoBlockFor, alsoBlockFor, clone, compute2, dfork, getFutures, init, invoke, invokeOnAllNodes, keys, lonCompletion, merge, merge, merge, onCompletion, reduceAlsoBlock
 
Methods inherited from class water.DTask
copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, onExceptionalCompletion, read, setException, toDocField, write, writeJSONFields
 
Methods inherited from class water.H2O.H2OCountedCompleter
compute
 
Methods inherited from class jsr166y.CountedCompleter
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
 
Methods inherited from class jsr166y.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileIntegrityChecker

public FileIntegrityChecker(java.io.File root,
                            boolean newApi)
Method Detail

lcompute

public void lcompute()
Specified by:
lcompute in class DRemoteTask<FileIntegrityChecker>

reduce

public void reduce(FileIntegrityChecker o)
Specified by:
reduce in class DRemoteTask<FileIntegrityChecker>

priority

public byte priority()
Overrides:
priority in class H2O.H2OCountedCompleter

check

public static FileIntegrityChecker check(java.io.File r,
                                         boolean newApi)

size

public int size()

getFileName

public java.lang.String getFileName(int i)

importFile

public Key importFile(int i,
                      Futures fs)