@Singleton public class InfinispanCommunicationDetailsCache extends Object implements CommunicationDetailsCache
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CACHE_NAME |
| Constructor and Description |
|---|
InfinispanCommunicationDetailsCache() |
| Modifier and Type | Method and Description |
|---|---|
CommunicationDetails |
get(String tenantId,
String id) |
org.infinispan.Cache<String,CommunicationDetails> |
getCommunicationDetails() |
void |
init() |
void |
setCommunicationDetails(org.infinispan.Cache<String,CommunicationDetails> communicationDetails) |
void |
store(String tenantId,
List<CommunicationDetails> details) |
protected static final String CACHE_NAME
@PostConstruct public void init()
public org.infinispan.Cache<String,CommunicationDetails> getCommunicationDetails()
public void setCommunicationDetails(org.infinispan.Cache<String,CommunicationDetails> communicationDetails)
communicationDetails - the communicationDetails to setpublic CommunicationDetails get(String tenantId, String id)
get in interface Cache<CommunicationDetails>public void store(String tenantId, List<CommunicationDetails> details) throws CacheException
store in interface Cache<CommunicationDetails>CacheExceptionCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.