blob: 7adae42f072d7acafcec6dcf7c6cf00690a83c91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// -*- C++ -*-
//=============================================================================
/**
* @file LB_conf.h
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TAO_LB_CONF_H
#define TAO_LB_CONF_H
#include /**/ "ace/pre.h"
#include "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Versioned_Namespace.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
#ifndef TAO_LB_PULL_HANDLER_INTERVAL
/// The interval in seconds the load balancer queries registered load
/// monitors for loads.
const long TAO_LB_PULL_HANDLER_INTERVAL = 5;
#endif /* TAO_LB_PULL_HANDLER_INTERVAL */
#ifndef TAO_LB_PULL_HANDLER_RESTART
/// The time in seconds the load balancer's "pull handler" is
/// restarted after being fired.
const long TAO_LB_PULL_HANDLER_RESTART = 5;
#endif /* TAO_LB_PULL_HANDLER_RESTART */
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_LB_CONF_H */
|