summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_conf.h
blob: 6b1fcfd8b98a567604a8a753040162ffbee517c6 (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
// -*- C++ -*-

//=============================================================================
/**
 * @file LB_conf.h
 *
 * $Id$
 *
 * @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 */


#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 */


#include /**/ "ace/post.h"

#endif  /* TAO_LB_CONF_H */