public class InfinispanPersistenceContext extends Object implements org.drools.persistence.api.PersistenceContext
| Constructor and Description |
|---|
InfinispanPersistenceContext(org.infinispan.Cache<String,Object> cache) |
InfinispanPersistenceContext(org.infinispan.Cache<String,Object> cache,
boolean isJTA) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.drools.persistence.api.PersistentSession |
findSession(Long id) |
org.drools.persistence.api.PersistentWorkItem |
findWorkItem(Long id) |
org.infinispan.Cache<String,Object> |
getCache() |
boolean |
isOpen() |
void |
joinTransaction() |
void |
lock(org.drools.persistence.api.PersistentWorkItem workItemInfo) |
org.drools.persistence.api.PersistentWorkItem |
merge(org.drools.persistence.api.PersistentWorkItem workItemInfo) |
org.drools.persistence.api.PersistentSession |
persist(org.drools.persistence.api.PersistentSession entity) |
org.drools.persistence.api.PersistentWorkItem |
persist(org.drools.persistence.api.PersistentWorkItem workItemInfo) |
void |
remove(org.drools.persistence.api.PersistentSession sessionInfo) |
void |
remove(org.drools.persistence.api.PersistentWorkItem workItemInfo) |
public InfinispanPersistenceContext(org.infinispan.Cache<String,Object> cache)
public org.drools.persistence.api.PersistentSession persist(org.drools.persistence.api.PersistentSession entity)
persist in interface org.drools.persistence.api.PersistenceContextpublic org.drools.persistence.api.PersistentSession findSession(Long id)
findSession in interface org.drools.persistence.api.PersistenceContextpublic void remove(org.drools.persistence.api.PersistentSession sessionInfo)
remove in interface org.drools.persistence.api.PersistenceContextpublic boolean isOpen()
isOpen in interface org.drools.persistence.api.PersistenceContextpublic void joinTransaction()
joinTransaction in interface org.drools.persistence.api.PersistenceContextpublic void close()
close in interface org.drools.persistence.api.PersistenceContextpublic org.drools.persistence.api.PersistentWorkItem persist(org.drools.persistence.api.PersistentWorkItem workItemInfo)
persist in interface org.drools.persistence.api.PersistenceContextpublic org.drools.persistence.api.PersistentWorkItem findWorkItem(Long id)
findWorkItem in interface org.drools.persistence.api.PersistenceContextpublic void remove(org.drools.persistence.api.PersistentWorkItem workItemInfo)
remove in interface org.drools.persistence.api.PersistenceContextpublic org.drools.persistence.api.PersistentWorkItem merge(org.drools.persistence.api.PersistentWorkItem workItemInfo)
merge in interface org.drools.persistence.api.PersistenceContextpublic void lock(org.drools.persistence.api.PersistentWorkItem workItemInfo)
lock in interface org.drools.persistence.api.PersistenceContextCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.