org.kuali.rice.ksb.cache
Interface RiceCacheAdministrator

All Superinterfaces:
org.kuali.rice.core.lifecycle.Lifecycle
All Known Implementing Classes:
RiceCacheAdministratorImpl

public interface RiceCacheAdministrator
extends org.kuali.rice.core.lifecycle.Lifecycle

Service for accessing and managing KEW primary cache

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String FORCE_REGISTRY_REFRESH_KEY
           
static String REMOTED_SERVICE_REGISTRY
           
static String SERVICE_NAME_KEY
           
 
Method Summary
 void flushAll()
           
 void flushEntry(String key)
           
 void flushGroup(String group)
           
 Object getFromCache(String key)
           
 Object getFromCache(String key, int refreshPeriod)
           
 Object getFromCache(String key, int refreshPeriod, String cronExpression)
           
 void putInCache(String key, Object content)
           
 void putInCache(String key, Object content, String group)
           
 void putInCache(String key, Object content, String[] groups)
           
 void setCacheCapacity(int capacity)
           
 void setForceRegistryRefresh(boolean forceRegistryRefresh)
           
 
Methods inherited from interface org.kuali.rice.core.lifecycle.Lifecycle
isStarted, start, stop
 

Field Detail

FORCE_REGISTRY_REFRESH_KEY

static final String FORCE_REGISTRY_REFRESH_KEY
See Also:
Constant Field Values

SERVICE_NAME_KEY

static final String SERVICE_NAME_KEY
See Also:
Constant Field Values

REMOTED_SERVICE_REGISTRY

static final String REMOTED_SERVICE_REGISTRY
See Also:
Constant Field Values
Method Detail

getFromCache

Object getFromCache(String key)

getFromCache

Object getFromCache(String key,
                    int refreshPeriod)

getFromCache

Object getFromCache(String key,
                    int refreshPeriod,
                    String cronExpression)

putInCache

void putInCache(String key,
                Object content,
                String[] groups)

putInCache

void putInCache(String key,
                Object content,
                String group)

putInCache

void putInCache(String key,
                Object content)

flushEntry

void flushEntry(String key)

flushGroup

void flushGroup(String group)

flushAll

void flushAll()

setCacheCapacity

void setCacheCapacity(int capacity)

setForceRegistryRefresh

void setForceRegistryRefresh(boolean forceRegistryRefresh)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.