public interface InfinispanConnection extends Connection
Modifier and Type | Method and Description |
---|---|
<T> T |
execute(String scriptName,
Map<String,?> params) |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache() |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache(String cacheName,
boolean createIfNotExists) |
void |
registerMarshaller(org.infinispan.protostream.BaseMarshaller<InfinispanDocument> marshller) |
void |
registerProtobufFile(ProtobufResource protobuf) |
void |
registerScript(String scriptName,
String script) |
void |
unRegisterMarshaller(org.infinispan.protostream.BaseMarshaller<InfinispanDocument> marshller) |
close
<K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName, boolean createIfNotExists) throws TranslatorException
TranslatorException
<K,V> org.infinispan.commons.api.BasicCache<K,V> getCache() throws TranslatorException
TranslatorException
void registerProtobufFile(ProtobufResource protobuf) throws TranslatorException
TranslatorException
void registerMarshaller(org.infinispan.protostream.BaseMarshaller<InfinispanDocument> marshller) throws TranslatorException
TranslatorException
void unRegisterMarshaller(org.infinispan.protostream.BaseMarshaller<InfinispanDocument> marshller) throws TranslatorException
TranslatorException
Copyright © 2019. All rights reserved.