org.sakaiproject.component.legacy.assignment
Class BaseAssignmentService.AssignmentSubmissionCacheRefresher

java.lang.Object
  extended byorg.sakaiproject.component.legacy.assignment.BaseAssignmentService.AssignmentSubmissionCacheRefresher
All Implemented Interfaces:
CacheRefresher
Enclosing class:
BaseAssignmentService

protected class BaseAssignmentService.AssignmentSubmissionCacheRefresher
extends Object
implements CacheRefresher

AssignmentSubmissionCacheRefresher implementation


Constructor Summary
protected BaseAssignmentService.AssignmentSubmissionCacheRefresher()
           
 
Method Summary
 Object refresh(Object key, Object oldValue, Event event)
          Get a new value for this key whose value has already expired in the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAssignmentService.AssignmentSubmissionCacheRefresher

protected BaseAssignmentService.AssignmentSubmissionCacheRefresher()
Method Detail

refresh

public Object refresh(Object key,
                      Object oldValue,
                      Event event)
Get a new value for this key whose value has already expired in the cache.

Specified by:
refresh in interface CacheRefresher
Parameters:
key - The key whose value has expired and needs to be refreshed.
oldValue - The old expired value of the key.
event - The event which triggered this refresh.
Returns:
a new value for use in the cache for this key; if null, the entry will be removed.