© 2001 BEA Systems, Inc.


com.bea.p13n.tracking
Interface TrackingConstants

All Known Subinterfaces:
BehaviorTrackingMBean

public interface TrackingConstants

Encapsulates constants associated with behavior tracking. All classes in the tracking service should use these constants to avoid typos, conflicting names, etc.


Field Summary
static int DEFAULT_BUFFER_SIZE
          The default size of the events buffer.
static java.lang.String DEFAULT_DATA_SOURCE_NAME
          The default connection pool name
static int DEFAULT_FORCE_FLUSH_INTERVAL
          Default maximum age of an event in the buffer is 120 seconds.
static int DEFAULT_TIME_INTERVAL
          The default time interval, in seconds, at which the events buffer will be checked to see if it needs to be persisted to the database.
static int MIN_TIME_INTERVAL
          Minimum time, in seconds, to check to see if events in the buffer must be persisted to the database.
 

Field Detail

DEFAULT_FORCE_FLUSH_INTERVAL

public static final int DEFAULT_FORCE_FLUSH_INTERVAL
Default maximum age of an event in the buffer is 120 seconds. This means that events will not stay in the buffer for more than 120 seconds before being persisted to the database.

DEFAULT_TIME_INTERVAL

public static final int DEFAULT_TIME_INTERVAL
The default time interval, in seconds, at which the events buffer will be checked to see if it needs to be persisted to the database. There are two conditions that will trigger the persistence of the buffer: either the max buffer size has been reached, or the max age of an event in the buffer has been exceeded.

MIN_TIME_INTERVAL

public static final int MIN_TIME_INTERVAL
Minimum time, in seconds, to check to see if events in the buffer must be persisted to the database. Setting this value to any less than this might cause performance problems. There are two conditions that will trigger the persistence of the buffer: either the max buffer size has been reached, or the max age of an event in the buffer has been exceeded.

DEFAULT_BUFFER_SIZE

public static final int DEFAULT_BUFFER_SIZE
The default size of the events buffer.

DEFAULT_DATA_SOURCE_NAME

public static final java.lang.String DEFAULT_DATA_SOURCE_NAME
The default connection pool name

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved