water
Class Job.ChunkProgress

java.lang.Object
  extended by water.Iced
      extended by water.Job.ChunkProgress
All Implemented Interfaces:
java.lang.Cloneable, Freezable, Job.Progress
Enclosing class:
Job

public static class Job.ChunkProgress
extends Iced
implements Job.Progress


Nested Class Summary
static class Job.ChunkProgress.Status
           
 
Field Summary
protected  DException _ex
           
 
Constructor Summary
Job.ChunkProgress(long chunksTotal)
           
 
Method Summary
 Job.ChunkProgress cancel()
           
 Job.ChunkProgress done()
           
 java.lang.String error()
           
 Job.ChunkProgress error(java.lang.String msg)
           
 boolean isDone()
           
 float progress()
           
 Job.ChunkProgress.Status status()
           
 Job.ChunkProgress update(int count)
           
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ex

protected DException _ex
Constructor Detail

Job.ChunkProgress

public Job.ChunkProgress(long chunksTotal)
Method Detail

status

public Job.ChunkProgress.Status status()

isDone

public boolean isDone()

error

public java.lang.String error()

update

public Job.ChunkProgress update(int count)

done

public Job.ChunkProgress done()

cancel

public Job.ChunkProgress cancel()

error

public Job.ChunkProgress error(java.lang.String msg)

progress

public float progress()
Specified by:
progress in interface Job.Progress