public class NonReactiveSupportWrapper extends Object implements ReactiveTemplateSupport
TemplateSupport methods to adapt them to ReactiveTemplateSupport.| Constructor and Description |
|---|
NonReactiveSupportWrapper(TemplateSupport support) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Object> |
applyUpdatedCas(Object entity,
long cas) |
reactor.core.publisher.Mono<Object> |
applyUpdatedId(Object entity,
Object id) |
<T> reactor.core.publisher.Mono<T> |
decodeEntity(String id,
String source,
long cas,
Class<T> entityClass) |
reactor.core.publisher.Mono<CouchbaseDocument> |
encodeEntity(Object entityToEncode) |
Long |
getCas(Object entity) |
String |
getJavaNameForEntity(Class<?> clazz) |
public NonReactiveSupportWrapper(TemplateSupport support)
public reactor.core.publisher.Mono<CouchbaseDocument> encodeEntity(Object entityToEncode)
encodeEntity in interface ReactiveTemplateSupportpublic <T> reactor.core.publisher.Mono<T> decodeEntity(String id, String source, long cas, Class<T> entityClass)
decodeEntity in interface ReactiveTemplateSupportpublic reactor.core.publisher.Mono<Object> applyUpdatedCas(Object entity, long cas)
applyUpdatedCas in interface ReactiveTemplateSupportpublic reactor.core.publisher.Mono<Object> applyUpdatedId(Object entity, Object id)
applyUpdatedId in interface ReactiveTemplateSupportpublic Long getCas(Object entity)
getCas in interface ReactiveTemplateSupportpublic String getJavaNameForEntity(Class<?> clazz)
getJavaNameForEntity in interface ReactiveTemplateSupportCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.