private bool NeedToArchive(String data)
        {
            long dataSize = GetDataSize(data);

            if (((dataSize + GetDataTmpFile().Length) / 1.0 / 1024 / 1024 > disConfig.GetDataCacheArchiveMaxSize()) ||
                (Utils.GetTimeStamp() - tmpFileCreateTime > disConfig.GetDataCacheArchiveLifeCycle() * 1000))
            {
                return(true);
            }

            return(false);
        }