@Override
    public void onCacheData(CacheResultType cacheResultType, T data, boolean outOfDate) {
        if (DEBUG) {
            CLog.d(LOG_TAG, "%s, onQueryFinish, out of date: %s", getCacheKey(), outOfDate);
        }
        if (hasBeenCanceled()) {
            return;
        }
        mCacheData = data;
        mOutOfDate = outOfDate;
        if (mHandler != null) {
            mHandler.onCacheData(data, outOfDate);

            if (mUseCacheAnyway) {
                notifyRequestFinish(ResultType.USE_CACHE_ANYWAY, data, mOutOfDate);
            } else {
                if (!outOfDate) {
                    notifyRequestFinish(ResultType.USE_CACHE_NOT_EXPIRED, data, false);
                }
            }
        }
    }
@Override
    public void onCacheData(CacheResultType cacheResultType, T data, boolean outOfDate) {
        if (DEBUG) {
            CLog.d(LOG_TAG, "%s, onQueryFinish, out of date: %s", getCacheKey(), outOfDate);
        }
        if (hasBeenCanceled()) {
            return;
        }
        mCacheData = data;
        mOutOfDate = outOfDate;
        if (mHandler != null) {
            mHandler.onCacheData(data, outOfDate);

            if (mUseCacheAnyway) {
                notifyRequestFinish(ResultType.USE_CACHE_ANYWAY, data, mOutOfDate);
            } else {
                if (!outOfDate) {
                    notifyRequestFinish(ResultType.USE_CACHE_NOT_EXPIRED, data, false);
                }
            }
        }
    }
@ Override public void onCacheData ( CacheResultType cacheResultType , T data , boolean outOfDate ) { if ( DEBUG ) { CLog . d ( LOG_TAG , "%s, onQueryFinish, out of date: %s" , getCacheKey ( ) , outOfDate ) ; } if ( hasBeenCanceled ( ) ) { return ; } mCacheData = data ; mOutOfDate = outOfDate ; if ( mHandler != null ) { mHandler . onCacheData ( data , outOfDate ) ; if ( mUseCacheAnyway ) { notifyRequestFinish ( ResultType . USE_CACHE_ANYWAY , data , mOutOfDate ) ; } else { if ( ! outOfDate ) { notifyRequestFinish ( ResultType . USE_CACHE_NOT_EXPIRED , data , false ) ; } } } }
===========================================================
===========================================================