according to the Java API documentation, the following method is asynchronous:
public final ExecuteTask execute(WritePolicy policy, Statement statement, String packageName, String functionName, Value... functionArgs) throws AerospikeException
the documentation says: “Records are not returned to the client. This asynchronous server call…”
I created an application using it and I have also added some simple method call timers, so now I see how much time a method call takes. From the timer’s log and from the Java API it seems to me that this call is not async, but a simple synchronous call. The Java API uses a ServerCommand class to execute the command, this class’s second parent class is a SyncCommand, not an AsyncCommand.
Please let me know if my findings are correct and if an asynchronous version of this method is planned to be developed.