Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.helpers
Class ProgressIndicator.UnknownEndProgress

    java.lang.Object
      org.neo4j.helpers.ProgressIndicator.UnknownEndProgress

All Implemented Interfaces:
  ProgressIndicator

Enclosing interface:
  ProgressIndicator

    public static class ProgressIndicator.UnknownEndProgress

extends Object
implements ProgressIndicator

Progress indicator where the end is unknown. Specify a step size which means that a means of progress will be printed every step.

Author:
  Mattias Persson

Nested Class Summary

Nested classes/interfaces inherited from interface org.neo4j.helpers.ProgressIndicator
`ProgressIndicator.MultiProgress, ProgressIndicator.SimpleProgress, ProgressIndicator.UnknownEndProgress`

Constructor Summary
`ProgressIndicator.UnknownEndProgress(long stepSize, String doneMessage)`
`ProgressIndicator.UnknownEndProgress(long stepSize, String doneMessage, PrintStream out)`

Method Summary
`void` | `done(long totalProgress)` Mark the process as done with the current source.
`void` | `update(boolean incremental, long value)` Update the current progress count for the current source.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ProgressIndicator.UnknownEndProgress

    public ProgressIndicator.UnknownEndProgress(long stepSize,
                                                String doneMessage)

### ProgressIndicator.UnknownEndProgress

    public ProgressIndicator.UnknownEndProgress(long stepSize,
                                                String doneMessage,
                                                PrintStream out)

Method Detail

### update

    public void update(boolean incremental,
                       long value)

  Description copied from interface: `ProgressIndicator`
  Update the current progress count for the current source.

  Specified by:
    `update` in interface `ProgressIndicator`
  Parameters:
    `incremental` - whether this is an incremental update ( `true`) or an absolute assignment ( `false`) of the progress.
    `value` - the count to update the progress with.

### done

    public void done(long totalProgress)

  Description copied from interface: `ProgressIndicator`
  Mark the process as done with the current source.

  Specified by:
    `done` in interface `ProgressIndicator`
  Parameters:
    `totalProgress` - the total progress reached by the source.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.