T - public interface KeyValueCallback<T>
KeyValueAdapter. This is particularly useful for
delegating code that needs to work closely on the underlying key/value store implementation.| Modifier and Type | Method and Description |
|---|---|
T |
doInKeyValue(KeyValueAdapter adapter)
Gets called by
KeyValueTemplate#execute(KeyValueCallback). |
@Nullable T doInKeyValue(KeyValueAdapter adapter)
KeyValueTemplate#execute(KeyValueCallback). Allows for returning a result object created
within the callback, i.e. a domain object or a collection of domain objects.adapter - Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.