public class CoarseSSOFactory<L> extends Object implements SSOFactory<CoarseSSOCacheEntry<L>,L>
Locator.CreateOperation<K,V>, Locator.FindOperation<K,V>
Remover.RemoveOperation<K,V>
Constructor and Description |
---|
CoarseSSOFactory(org.infinispan.Cache<String,CoarseSSOCacheEntry<L>> cache,
CacheInvoker invoker,
LocalContextFactory<L> localContextFactory) |
Modifier and Type | Method and Description |
---|---|
SSO<L> |
createSSO(String id,
CoarseSSOCacheEntry<L> value) |
CoarseSSOCacheEntry<L> |
createValue(String id)
Creates a value in the cache, if it does not already exist.
|
CoarseSSOCacheEntry<L> |
findValue(String id)
Locates the value in the cache with the specified identifier.
|
void |
remove(String id)
Removes the specified entry from the cache.
|
public CoarseSSOFactory(org.infinispan.Cache<String,CoarseSSOCacheEntry<L>> cache, CacheInvoker invoker, LocalContextFactory<L> localContextFactory)
public SSO<L> createSSO(String id, CoarseSSOCacheEntry<L> value)
createSSO
in interface SSOFactory<CoarseSSOCacheEntry<L>,L>
public CoarseSSOCacheEntry<L> createValue(String id)
Locator
createValue
in interface Locator<String,CoarseSSOCacheEntry<L>>
id
- the cache entry identifier.public CoarseSSOCacheEntry<L> findValue(String id)
Locator
findValue
in interface Locator<String,CoarseSSOCacheEntry<L>>
id
- the cache entry identifierCopyright © 2013 JBoss by Red Hat. All rights reserved.