Neo4j Enterprise

org.neo4j.helpers.progress
Class ProgressListener

java.lang.Object
  extended by 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)

Neo4j Enterprise

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