Package org.voltdb.client
Interface ProcedureCallback
- All Known Implementing Classes:
NullCallback
,SyncCallback
public interface ProcedureCallback
Abstract base class for callbacks that are invoked when an asynchronously invoked transaction receives a response.
Extend this class and provide an implementation of
clientCallback(org.voltdb.client.ClientResponse)
to receive a response to a
stored procedure invocation.-
Method Summary
Modifier and TypeMethodDescriptionvoid
clientCallback
(ClientResponse clientResponse) Implementation of callback to be provided by client applications.
-
Method Details
-
clientCallback
Implementation of callback to be provided by client applications.- Parameters:
clientResponse
- Response to the stored procedure invocation this callback is associated with- Throws:
Exception
- on any Exception.
-