public interface InfinispanConnection
Modifier and Type | Method and Description |
---|---|
Map<Object,Object> |
getCache(String cacheName)
Call to obtain the cache object
|
Map<String,Class<?>> |
getCacheNameClassTypeMapping()
Returns a map of all defined caches, and their respective root object class type,
that are accessible using this connection.
|
ClassRegistry |
getClassRegistry()
Return the ClassRegistry that contains which classes and their methods.
|
com.google.protobuf.Descriptors.Descriptor |
getDescriptor(String cacheName)
Returns the protobuf descriptor that desribes the messages being serialized
|
String |
getPkField(String cacheName)
Returns the name of the primary key to the cache
|
org.infinispan.query.dsl.QueryFactory |
getQueryFactory(String cacheName)
Return the QueryFactory used by the cache.
|
Class<?> |
getType(String cacheName)
Return the root class type stored in the specified cache
|
Class<?> getType(String cacheName) throws TranslatorException
cacheName
- TranslatorException
String getPkField(String cacheName) throws TranslatorException
cacheName
- TranslatorException
Map<String,Class<?>> getCacheNameClassTypeMapping() throws TranslatorException
TranslatorException
com.google.protobuf.Descriptors.Descriptor getDescriptor(String cacheName) throws TranslatorException
cacheName
- TranslatorException
Map<Object,Object> getCache(String cacheName) throws TranslatorException
cacheName
- TranslatorException
org.infinispan.query.dsl.QueryFactory getQueryFactory(String cacheName) throws TranslatorException
cacheName
- TranslatorException
ClassRegistry getClassRegistry()
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.