Neo4j Community

org.neo4j.helpers
Interface CancellationRequest


public interface CancellationRequest

Represents the concept of a cancellation notification towards a task. The implementation for the request will remain application dependent, but the task to be cancelled can use this to discover if cancellation has been requested.


Method Summary
 boolean cancellationRequested()
           
 

Method Detail

cancellationRequested

boolean cancellationRequested()
Returns:
True iff a request for cancellation has been issued. It is assumed that the request cannot be withdrawn so once this method returns true it must always return true on all subsequent calls.

Neo4j Community

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