Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CacheConfigServer.H

Go to the documentation of this file.
00001 // Copyright (C) 2001, Compaq Computer Corporation
00002 // 
00003 // This file is part of Vesta.
00004 // 
00005 // Vesta is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 // 
00010 // Vesta is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with Vesta; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 // Created on Tue Sep 16 10:37:18 PDT 1997 by heydon
00020 // Last modified on Thu Jan  2 18:37:37 EST 2003 by ken@xorian.net
00021 //      modified on Tue Feb  1 14:19:36 PST 2000 by heydon
00022 
00023 #ifndef _CACHE_CONFIG_SERVER_H
00024 #define _CACHE_CONFIG_SERVER_H
00025 
00026 // This file defines configuration variables required only by the cache
00027 // server.
00028 
00029 #include <Basics.H>
00030 
00031 // Required configuration values
00032 extern const int  Config_FreePauseDur;    // [CacheServer]/FreePauseDur
00033 
00034 // optional values
00035 extern int  Config_MaxRunning;            // [CacheServer]/MaxRunning
00036 extern int  Config_MaxBlocked;            // [CacheServer]/MaxBlocked
00037 extern int  Config_WeedPauseDur;          // [CacheServer]/WeedPauseDur
00038 extern int  Config_MaxCacheLogCnt;        // [CacheServer]/MaxCacheLogCnt
00039 extern int  Config_MPKFileFlushNum;       // [CacheServer]/MPKFileFlushNum
00040 extern int  Config_FlushWorkerCnt;        // [CacheServer]/FlushWorkerCnt
00041 
00042 // Note: FlushChangedPeriodCnt used to be called FreePeriodCnt, and
00043 // tat name is still allowed in the config file if
00044 // [CacheServer]/FlushNewPeriodCnt isn't set.
00045 
00046 extern int  Config_FlushNewPeriodCnt;     // [CacheServer]/FlushNewPeriodCnt
00047 extern int  Config_PurgeWarmPeriodCnt;    // [CacheServer]/PurgeWarmPeriodCnt
00048 extern int  Config_EvictPeriodCnt;        // [CacheServer]/EvictPeriodCnt
00049 
00050 extern bool Config_FreeAggressively;      // [CacheServer]/FreeAggressively
00051 extern bool Config_ReadImmutable;         // [CacheServer]/ReadImmutable
00052 extern bool Config_KeepNewOnFlush;        // [CacheServer]/KeepNewOnFlush
00053 extern bool Config_KeepOldOnFlush;        // [CacheServer]/KeepOldOnFlush
00054 
00055 #endif // _CACHE_CONFIG_SERVER_H

Generated on Mon May 8 00:48:33 2006 for Vesta by  doxygen 1.4.2