Package org.teiid.infinispan.api
Interface InfinispanConnection
-
- All Superinterfaces:
Connection
- All Known Implementing Classes:
BaseInfinispanConnection,InfinispanManagedConnectionFactory.InfinispanResourceConnection
public interface InfinispanConnection extends Connection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Texecute(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)ExecutionFactory.TransactionSupportgetTransactionSupport()voidregisterMarshaller(Table table, RuntimeMetadata metadata)voidregisterProtobufFile(ProtobufResource protobuf)-
Methods inherited from interface org.teiid.resource.api.Connection
close
-
-
-
-
Method Detail
-
getCache
<K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName) throws TranslatorException
- Throws:
TranslatorException
-
getCache
<K,V> org.infinispan.commons.api.BasicCache<K,V> getCache() throws TranslatorException- Throws:
TranslatorException
-
registerProtobufFile
void registerProtobufFile(ProtobufResource protobuf) throws TranslatorException
- Throws:
TranslatorException
-
registerMarshaller
void registerMarshaller(Table table, RuntimeMetadata metadata) throws TranslatorException
- Throws:
TranslatorException
-
getTransactionSupport
ExecutionFactory.TransactionSupport getTransactionSupport()
-
-