public class CacheInfo extends Object
getParams()
for more information.Modifier and Type | Class and Description |
---|---|
static class |
CacheInfo.Type |
Constructor and Description |
---|
CacheInfo(String cacheName,
CacheInfo.Type type,
Map<String,String> params)
Creates the configuration to use for the specified cache.
|
Modifier and Type | Method and Description |
---|---|
String |
getCacheName() |
Map<String,String> |
getParams()
Returns a map with the configuration to use for the cache.
|
CacheInfo.Type |
getType() |
public CacheInfo(String cacheName, CacheInfo.Type type, Map<String,String> params)
getParams()
for more information.cacheName
- name of the cache.type
- type of cache to use when running in a cluster. Ignored when running as standalone.params
- extra parameters that define cache properties like max size or expiration.public String getCacheName()
public CacheInfo.Type getType()
public Map<String,String> getParams()
Copyright © 2003-2008 Jive Software.