Class InfinispanBeanMetaDataFactory<K>
java.lang.Object
org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanMetaDataFactory<K>
- Type Parameters:
K- the bean identifier type
- All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryCreator<BeanInstance<K>,,RemappableBeanMetaDataEntry<K>, K> org.wildfly.clustering.cache.CacheEntryLocator<K,,RemappableBeanMetaDataEntry<K>> org.wildfly.clustering.cache.CacheEntryRemover<K>,BeanMetaDataFactory<K,,RemappableBeanMetaDataEntry<K>> ImmutableBeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
public class InfinispanBeanMetaDataFactory<K>
extends Object
implements BeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
A
BeanMetaDataFactory whose metadata entries are stored in an embedded Infinispan cache.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreateBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry) createImmutableBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry) createValueAsync(BeanInstance<K> instance, K groupId) findValueAsync(K id) voidremoveAsync(K id) tryValueAsync(K id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.cache.CacheEntryCreator
createValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator
findValue, tryValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover
purge, purgeAsync
-
Constructor Details
-
InfinispanBeanMetaDataFactory
-
-
Method Details
-
createValueAsync
public CompletionStage<RemappableBeanMetaDataEntry<K>> createValueAsync(BeanInstance<K> instance, K groupId) - Specified by:
createValueAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryCreator<BeanInstance<K>,RemappableBeanMetaDataEntry<K>, K>
-
findValueAsync
- Specified by:
findValueAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryLocator<K,RemappableBeanMetaDataEntry<K>>
-
tryValueAsync
- Specified by:
tryValueAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryLocator<K,RemappableBeanMetaDataEntry<K>>
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryRemover<K>
-
remove
- Specified by:
removein interfaceorg.wildfly.clustering.cache.CacheEntryRemover<K>
-
createImmutableBeanMetaData
public ImmutableBeanMetaData<K> createImmutableBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry) - Specified by:
createImmutableBeanMetaDatain interfaceImmutableBeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
-
createBeanMetaData
- Specified by:
createBeanMetaDatain interfaceBeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
-