xrootd
XrdClConstants.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // Copyright (c) 2011-2012 by European Organization for Nuclear Research (CERN)
3 // Author: Lukasz Janyst <ljanyst@cern.ch>
4 //------------------------------------------------------------------------------
5 // XRootD is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // XRootD is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with XRootD. If not, see <http://www.gnu.org/licenses/>.
17 //------------------------------------------------------------------------------
18 
19 #ifndef __XRD_CL_CONSTANTS_HH__
20 #define __XRD_CL_CONSTANTS_HH__
21 
22 #include <stdint.h>
23 
24 namespace XrdCl
25 {
26  //----------------------------------------------------------------------------
27  // Log message types
28  //----------------------------------------------------------------------------
29  const uint64_t AppMsg = 0x0000000000000001ULL;
30  const uint64_t UtilityMsg = 0x0000000000000002ULL;
31  const uint64_t FileMsg = 0x0000000000000004ULL;
32  const uint64_t PollerMsg = 0x0000000000000008ULL;
33  const uint64_t PostMasterMsg = 0x0000000000000010ULL;
34  const uint64_t XRootDTransportMsg = 0x0000000000000020ULL;
35  const uint64_t TaskMgrMsg = 0x0000000000000040ULL;
36  const uint64_t XRootDMsg = 0x0000000000000080ULL;
37  const uint64_t FileSystemMsg = 0x0000000000000100ULL;
38  const uint64_t AsyncSockMsg = 0x0000000000000200ULL;
39  const uint64_t JobMgrMsg = 0x0000000000000400ULL;
40 
41  //----------------------------------------------------------------------------
42  // Environment settings
43  //----------------------------------------------------------------------------
45  const int DefaultConnectionWindow = 120;
46  const int DefaultConnectionRetry = 5;
47  const int DefaultRequestTimeout = 300;
48  const int DefaultTimeoutResolution = 15;
49  const int DefaultStreamErrorWindow = 1800;
50  const int DefaultRunForkHandler = 0;
51  const int DefaultRedirectLimit = 16;
52  const int DefaultWorkerThreads = 3;
53  const int DefaultCPChunkSize = 16777216;
54  const int DefaultCPParallelChunks = 4;
55 
56  const char * const DefaultPollerPreference = "built-in,libevent";
57  const char * const DefaultClientMonitor = "";
58  const char * const DefaultClientMonitorParam = "";
59 }
60 
61 #endif // __XRD_CL_CONSTANTS_HH__
const uint64_t PollerMsg
Definition: XrdClConstants.hh:32
const int DefaultCPChunkSize
Definition: XrdClConstants.hh:53
const uint64_t FileMsg
Definition: XrdClConstants.hh:31
const uint64_t AsyncSockMsg
Definition: XrdClConstants.hh:38
const int DefaultRunForkHandler
Definition: XrdClConstants.hh:50
const char *const DefaultClientMonitor
Definition: XrdClConstants.hh:57
const int DefaultStreamErrorWindow
Definition: XrdClConstants.hh:49
const uint64_t XRootDMsg
Definition: XrdClConstants.hh:36
const char *const DefaultPollerPreference
Definition: XrdClConstants.hh:56
const char *const DefaultClientMonitorParam
Definition: XrdClConstants.hh:58
const int DefaultConnectionRetry
Definition: XrdClConstants.hh:46
const int DefaultWorkerThreads
Definition: XrdClConstants.hh:52
const int DefaultTimeoutResolution
Definition: XrdClConstants.hh:48
const uint64_t JobMgrMsg
Definition: XrdClConstants.hh:39
const int DefaultCPParallelChunks
Definition: XrdClConstants.hh:54
const uint64_t XRootDTransportMsg
Definition: XrdClConstants.hh:34
const uint64_t UtilityMsg
Definition: XrdClConstants.hh:30
const int DefaultSubStreamsPerChannel
Definition: XrdClConstants.hh:44
const uint64_t AppMsg
Definition: XrdClConstants.hh:29
const int DefaultConnectionWindow
Definition: XrdClConstants.hh:45
const int DefaultRedirectLimit
Definition: XrdClConstants.hh:51
const int DefaultRequestTimeout
Definition: XrdClConstants.hh:47
const uint64_t FileSystemMsg
Definition: XrdClConstants.hh:37
const uint64_t PostMasterMsg
Definition: XrdClConstants.hh:33
const uint64_t TaskMgrMsg
Definition: XrdClConstants.hh:35