public class MessageProcessingCallback<T> extends Session.Callback.Adapter<T,Void>
Session.Callback.Adapter<V,A>
NO_OP
Constructor and Description |
---|
MessageProcessingCallback(org.neo4j.logging.Log logger) |
Modifier and Type | Method and Description |
---|---|
void |
completed(Void none)
Called when the operation is completed.
|
void |
failure(Neo4jError err,
Void none)
Called zero or more times if there are failures
|
void |
ignored(Void none)
Called when the state machine ignores an operation, because it is waiting for an error to be acknowledged
|
static void |
publishError(MessageHandler<IOException> out,
Neo4jError error) |
MessageProcessingCallback |
reset(MessageHandler<IOException> out,
Runnable onCompleted) |
result, started
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
noOp
public MessageProcessingCallback(org.neo4j.logging.Log logger)
public static void publishError(MessageHandler<IOException> out, Neo4jError error) throws IOException
IOException
public MessageProcessingCallback reset(MessageHandler<IOException> out, Runnable onCompleted)
public void failure(Neo4jError err, Void none)
Session.Callback
failure
in interface Session.Callback<T,Void>
failure
in class Session.Callback.Adapter<T,Void>
public void ignored(Void none)
Session.Callback
ignored
in interface Session.Callback<T,Void>
ignored
in class Session.Callback.Adapter<T,Void>
public void completed(Void none)
Session.Callback
completed
in interface Session.Callback<T,Void>
completed
in class Session.Callback.Adapter<T,Void>
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.