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.progress
Class ProgressListener

    java.lang.Object
      org.neo4j.helpers.progress.ProgressListener

    public abstract class ProgressListener

extends Object

A Progress object is an object through which a process can report its progress.

Progress objects are not thread safe, and are to be used by a single thread only. Each Progress object from a `ProgressMonitorFactory.MultiPartBuilder` can be used from different threads.

Author:
  Tobias Lindaaker

Field Summary
`static ProgressListener` | `NONE`

Method Summary
`abstract void` | `add(long progress)`
`abstract void` | `done()`
`abstract void` | `failed(Throwable e)`
`abstract void` | `set(long progress)`
`abstract void` | `started()`

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

Field Detail

### NONE

    public static final ProgressListener NONE

Method Detail

### started

    public abstract void started()

### set

    public abstract void set(long progress)

### add

    public abstract void add(long progress)

### done

    public abstract void done()

### failed

    public abstract void failed(Throwable e)

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.