Class InfinispanBean<I,T>
- java.lang.Object
-
- org.wildfly.clustering.ejb.infinispan.bean.InfinispanBean<I,T>
-
- Type Parameters:
I- the bean identifier typeT- the bean type
- All Implemented Interfaces:
AutoCloseable,Bean<I,T>
public class InfinispanBean<I,T> extends Object implements Bean<I,T>
ABeanimplementation backed by an infinispan cache.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description InfinispanBean(I id, BeanEntry<I> entry, BeanGroup<I,T> group, org.wildfly.clustering.ee.Mutator mutator, BeanRemover<I,T> remover, Duration timeout, PassivationListener<T> listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tacquire()voidclose()booleanequals(Object object)IgetGroupId()IgetId()inthashCode()booleanisExpired()booleanisValid()booleanrelease()voidremove(RemoveListener<T> listener)StringtoString()
-
-
-
Method Detail
-
getGroupId
public I getGroupId()
- Specified by:
getGroupIdin interfaceBean<I,T>
-
close
public void close()
-
-