public class BurlapClientDecorator extends Object implements BurlapClient
Constructor and Description |
---|
BurlapClientDecorator(BurlapClient delegate) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
geProxyClassNames() |
protected BurlapClient |
getDelegate() |
Map<String,Object> |
getProxies() |
<T,R> R |
proxy(Class<T> proxyClass,
UnaryConsumer<T,R> consumer) |
void |
removeProxy(String proxyClassName) |
public BurlapClientDecorator(@Nonnull BurlapClient delegate)
@Nonnull protected BurlapClient getDelegate()
public <T,R> R proxy(@Nonnull Class<T> proxyClass, @Nonnull UnaryConsumer<T,R> consumer)
proxy
in interface BurlapClient
public void removeProxy(@Nonnull String proxyClassName)
removeProxy
in interface BurlapClient
@Nonnull public Set<String> geProxyClassNames()
geProxyClassNames
in interface BurlapClient
@Nonnull public Map<String,Object> getProxies()
getProxies
in interface BurlapClient