com.jdon.domain.model.cache
接口 LifeCycle


public interface LifeCycle

when a model is added or removed from cache, will callback this method.

作者:
banq

方法摘要
 void start()
          when a model has been put into cache, call this method
 void stop()
          when a model has been removed from cache,, call this method
 void update()
          Called immediately after an model has been put into the cache and the model already existed in the cache.
 

方法详细信息

start

void start()
when a model has been put into cache, call this method


stop

void stop()
when a model has been removed from cache,, call this method


update

void update()
Called immediately after an model has been put into the cache and the model already existed in the cache. This is thus an update.



Copyright © 2013. All Rights Reserved.