org.springframework.persistence
Interface AsynchStoreCompletionListener<V>
- Type Parameters:
V
- new value type
- All Known Implementing Classes:
- AsynchStoreCompletionListener.NONE
public interface AsynchStoreCompletionListener<V>
Listener interface for asynchronous storage operations.
Can be annotated with OnlyOnFailure as an optimization
if the listener is only interested in compensating transactions
in the event of write failure.
- Author:
- Rod Johnson
onCompletion
void onCompletion(AsynchStoreCompletionListener.StoreResult result,
V newValue,
Field foreignStore)
Copyright © 2011. All Rights Reserved.