© 2001 BEA Systems, Inc.

com.bea.commerce.platform.tracking
Interface TrackingConstants

All Known Subinterfaces:
TrackingEventHelper
All Known Implementing Classes:
BehaviorTrackingListener

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 java.lang.String CACHE_SIZE_PROPERTY
          The size threshold that triggers sweeping the cache every FLUSH_TIME_PROPERTY seconds.
static java.lang.String CONNECTION_POOL_NAME_PROPERTY
          The connection pool used when writing events swept from the caches into the database.
static int DEFAULT_CACHE_SIZE
          The default size of the CACHE_SIZE_PROPERTY
static java.lang.String DEFAULT_CONNECTION_POOL_NAME
          The default connection pool name
static int DEFAULT_FORCE_FLUSH_INTERVAL
          Default maximum age of an event in the cache is 120 seconds.
static int DEFAULT_TIME_INTERVAL
          The default duration of the FLUSH_TIME_PROPERTY interval in seconds.
static java.lang.String EVENT_SERVICE_FAILED
          MessageCatalog entry for the message logged by TrackingEventHelper if the EventService is unavailable or dispatchEvent throws a RemoteException
static java.lang.String FLUSH_TIME_PROPERTY
          The interval between checks for the total size of the cache.
static java.lang.String FORCE_FLUSH_INTERVAL_PROPERTY
          The maximum age of an event in a Cache object (in seconds).
static java.lang.String LISTENER_CREATE_EXCEPTION
          MessageCatalog entry for the message that is logged by AsynchronousEventHandler if one of the EventListener classes can not be instantiated.
static java.lang.String PERSISTENCE_XML_CREATION_EXCEPTION
          MessageCatalog entry for the messate that is logged by the BehaviorTrackingEventPersistenceHelper when an error is encountered creating the XML for a tracking event
static java.lang.String PERSISTER_SQL_EXCEPTION
          MessageCatalog entry for the message logged when the persister has trouble persisting the event data to the database (usually some sort of SQL exception).
static java.lang.String SWEEPER_STARTUP_EXCEPTION
          MessageCatalog entry for the messate that is logged by the CacheManager when the CacheSweeper can not be started
static java.lang.String TRACKING_MESSAGE_CATALOG
          MessageCatalog namespace for tracking messages.
static java.lang.String TRACKING_PERSISTER_TYPES_PROPERTY
          Property name (weblogiccommerce.properties) for behavior tracking event types to persist to the database when behavior tracking is enabled.
 

Field Detail

TRACKING_PERSISTER_TYPES_PROPERTY

public static final java.lang.String TRACKING_PERSISTER_TYPES_PROPERTY
Property name (weblogiccommerce.properties) for behavior tracking event types to persist to the database when behavior tracking is enabled. The property with this name should contain a comma-delimited list of EventListener classes. These listeners are used if com.bea.platform.tracking.BehaviorTrackingEventListener is used in eventService.listeners.

FORCE_FLUSH_INTERVAL_PROPERTY

public static final java.lang.String FORCE_FLUSH_INTERVAL_PROPERTY
The maximum age of an event in a Cache object (in seconds). The cache is swept based on total cache size and time. This entry specifies the longest duration before a cache flush is forced regardless of size. Flushed events are written to the database.

DEFAULT_FORCE_FLUSH_INTERVAL

public static final int DEFAULT_FORCE_FLUSH_INTERVAL
Default maximum age of an event in the cache is 120 seconds.

FLUSH_TIME_PROPERTY

public static final java.lang.String FLUSH_TIME_PROPERTY
The interval between checks for the total size of the cache. If the cache is larger than the CACHE_SIZE_PROPERTY, the cache is flushed based on size. The check is run everu FLUSH_TIME_PROPERTY seconds.

DEFAULT_TIME_INTERVAL

public static final int DEFAULT_TIME_INTERVAL
The default duration of the FLUSH_TIME_PROPERTY interval in seconds.

CACHE_SIZE_PROPERTY

public static final java.lang.String CACHE_SIZE_PROPERTY
The size threshold that triggers sweeping the cache every FLUSH_TIME_PROPERTY seconds.

DEFAULT_CACHE_SIZE

public static final int DEFAULT_CACHE_SIZE
The default size of the CACHE_SIZE_PROPERTY

CONNECTION_POOL_NAME_PROPERTY

public static final java.lang.String CONNECTION_POOL_NAME_PROPERTY
The connection pool used when writing events swept from the caches into the database.

DEFAULT_CONNECTION_POOL_NAME

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

TRACKING_MESSAGE_CATALOG

public static final java.lang.String TRACKING_MESSAGE_CATALOG
MessageCatalog namespace for tracking messages.

LISTENER_CREATE_EXCEPTION

public static final java.lang.String LISTENER_CREATE_EXCEPTION
MessageCatalog entry for the message that is logged by AsynchronousEventHandler if one of the EventListener classes can not be instantiated.

PERSISTENCE_XML_CREATION_EXCEPTION

public static final java.lang.String PERSISTENCE_XML_CREATION_EXCEPTION
MessageCatalog entry for the messate that is logged by the BehaviorTrackingEventPersistenceHelper when an error is encountered creating the XML for a tracking event

SWEEPER_STARTUP_EXCEPTION

public static final java.lang.String SWEEPER_STARTUP_EXCEPTION
MessageCatalog entry for the messate that is logged by the CacheManager when the CacheSweeper can not be started

EVENT_SERVICE_FAILED

public static final java.lang.String EVENT_SERVICE_FAILED
MessageCatalog entry for the message logged by TrackingEventHelper if the EventService is unavailable or dispatchEvent throws a RemoteException

PERSISTER_SQL_EXCEPTION

public static final java.lang.String PERSISTER_SQL_EXCEPTION
MessageCatalog entry for the message logged when the persister has trouble persisting the event data to the database (usually some sort of SQL exception).

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved