defaults.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PULL_RETRY_PERIOD_MS   1000
 1 second
#define MAX_QUEUE_LENGTH   1023
#define MAX_NUM_PROXIES   1024
 Only limits number of ProxyPullSuppliers.
#define CYCLE_PERIOD_NS   100000000
 Delay between cycles. (0.1 second).
#define OMNIEVENTS_LOG_DEFAULT_LOCATION   "/var/lib/omniEvents"
 Define OMNIEVENTS_LOG_DEFAULT_LOCATION to specify the default location where the omniEvents server executable places its persistency log file.
#define OMNIEVENTS_LOGDIR_ENV_VAR   "OMNIEVENTS_LOGDIR"
 Define OMNIEVENTS_LOGDIR_ENV_VAR to specify the environment variable that users may set to override the OMNIEVENTS_LOG_DEFAULT_LOCATION.
#define OMNIEVENTS_LOG_CHECKPOINT_PERIOD   (15*60)
 Define OMNIEVENTS_LOG_CHECKPOINT_PERIOD to specify the number of seconds the omniEvents server executable should wait before persistency log check- points.


Define Documentation

#define CYCLE_PERIOD_NS   100000000
 

Delay between cycles. (0.1 second).

Definition at line 76 of file defaults.h.

Referenced by OmniEvents::EventChannel_i::cyclePeriod_ns().

#define MAX_NUM_PROXIES   1024
 

Only limits number of ProxyPullSuppliers.

Definition at line 75 of file defaults.h.

Referenced by OmniEvents::EventChannel_i::maxNumProxies().

#define MAX_QUEUE_LENGTH   1023
 

Definition at line 74 of file defaults.h.

Referenced by OmniEvents::EventChannel_i::maxQueueLength().

#define OMNIEVENTS_LOG_CHECKPOINT_PERIOD   (15*60)
 

Define OMNIEVENTS_LOG_CHECKPOINT_PERIOD to specify the number of seconds the omniEvents server executable should wait before persistency log check- points.

The default value is 900 (ie 15 minutes). You should adjust this value depending on how often operations involving state changes are performed. Operations of this type include creating event channels and connecting or disconnecting clients. Lowering the period reduces the maximum size of the logfile. Value is in seconds.

Definition at line 108 of file defaults.h.

Referenced by OmniEvents::omniEventsLog::checkpoint().

#define OMNIEVENTS_LOG_DEFAULT_LOCATION   "/var/lib/omniEvents"
 

Define OMNIEVENTS_LOG_DEFAULT_LOCATION to specify the default location where the omniEvents server executable places its persistency log file.

The default location is C: for Win32 and /var/lib/omniEvents for UNIX systems. The location can be overridden at runtime using the OMNIEVENTS_LOGDIR environment variable. Value must be an absolute pathname.

Definition at line 90 of file defaults.h.

Referenced by OmniEvents::omniEventsLog::initializeFileNames(), and OmniEvents::usage().

#define OMNIEVENTS_LOGDIR_ENV_VAR   "OMNIEVENTS_LOGDIR"
 

Define OMNIEVENTS_LOGDIR_ENV_VAR to specify the environment variable that users may set to override the OMNIEVENTS_LOG_DEFAULT_LOCATION.

The default environment variable name is `OMNIEVENTS_LOGDIR'.

Definition at line 97 of file defaults.h.

Referenced by OmniEvents::omniEventsLog::incarnateFactory(), OmniEvents::omniEventsLog::initializeFileNames(), and OmniEvents::usage().

#define PULL_RETRY_PERIOD_MS   1000
 

1 second

Definition at line 73 of file defaults.h.

Referenced by OmniEvents::EventChannel_i::pullRetryPeriod_ms().


Generated on Mon Jan 9 03:52:21 2006 for OmniEvents by  doxygen 1.4.6