Class AsyncCallbackAdapter<T>

    • Constructor Detail

      • AsyncCallbackAdapter

        public AsyncCallbackAdapter()
    • Method Detail

      • onOperationSucceeded

        public void onOperationSucceeded​(AsyncOperationType type,
                                         Query<T> q,
                                         long duration,
                                         List<T> result,
                                         T entity,
                                         Object... param)
        Description copied from interface: AsyncOperationCallback
        throw morphium access veto exception if you want to stop any subsequent calls
        Specified by:
        onOperationSucceeded in interface AsyncOperationCallback<T>
        Parameters:
        type - - type of operation performed
        q - - the query for the operation (might be null)
        duration - - duration of the whole thing
        result - - list of all results, might be null (on update or remove)
        param - - the parameter (e.g. the object to store, or the list of objects) - might be null