BehaviorTrackingMBean Interface
- public interface BehaviorTrackingMBean
extends ServiceConfigurationMBean
, TrackingConstants
Configuration for Behavior Tracking
-
All Superinterfaces
-
ConfigurationMBean
, DynamicMBean
, MBeanRegistration
, NotificationBroadcaster
, ServiceConfigurationMBean
, TrackingConstants
, WebLogicMBean
public String |
-
getDataSourceJndiName ()
- Get the data source name to use for persisting behavior tracking data.
|
public int |
-
getMaxBufferSize ()
- Get maximum size of the event buffer, which hold events until the events
are persisted to the database.
|
public String [] |
-
getPersistedEventTypes ()
- Returns the Event types to persist to the database.
|
public String |
-
getPersistenceClassname ()
- Get the class that is used for persistence of the messages.
|
public int |
-
getSweepInterval ()
- Get the interval, in seconds, at which to check the buffers to see whether
events in the buffer must be persisted.
|
public int |
-
getSweepMaxTime ()
- Cet the time in seconds to wait before forcing a flush to the database
This is the longest amount of time that an even will exist in any cache.
|
public void |
-
setDataSourceJndiName (String name)
- Set the data source name to use for persisting behavior tracking data.
|
public void |
-
setMaxBufferSize (int maxSize)
- Set maximum size of the event buffer.
|
public void |
-
setPersistedEventTypes (String [] events)
- Set the Event types to persist to the database.
|
public void |
-
setPersistenceClassname (String name)
- Get the class that is used for persistence of the messages.
|
public void |
-
setSweepInterval (int sweepIntervalSecs)
- Set the interval, in seconds, at which to check the buffers to see whether
events in the buffer must be persisted.
|
public void |
-
setSweepMaxTime (int maxTime)
- Set the time in seconds to wait before forcing a flush to the database
This is the longest amount of time that an even will exist in any cache.
|
Methods from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
getDataSourceJndiName() Method
public String
getDataSourceJndiName()
Get the data source name to use for persisting behavior tracking data.
This is the actual JNDI name of the data source; not the name of the
DataSource MBean.
getMaxBufferSize() Method
public int getMaxBufferSize()
Get maximum size of the event buffer, which hold events until the events
are persisted to the database.
getPersistedEventTypes() Method
public String
[] getPersistedEventTypes()
Returns the Event types to persist to the database. Example event
types are: AddToCartEvent, BuyEvent, etc.
getPersistenceClassname() Method
public String
getPersistenceClassname()
Get the class that is used for persistence of the messages. The class
provided must be a subclass of
com.bea.p13n.tracking.internal.persistence.AbstractDatabasePersister
Use this option if you wish to override the default behavior of persisting
behavior tracking events to a database. This will be the fully qualified
classname of the persistence class.
getSweepInterval() Method
public int getSweepInterval()
Get the interval, in seconds, at which to check the buffers to see whether
events in the buffer must be persisted. There are two cases that will trigger
the persistence of the buffer: either the max buffer size (MaxBufferSize) has
been reached, or the maximum time to wait in the buffer (SweepMaxTime) has been
exceeded.
getSweepMaxTime() Method
public int getSweepMaxTime()
Cet the time in seconds to wait before forcing a flush to the database
This is the longest amount of time that an even will exist in any cache.
setDataSourceJndiName(String) Method
public void setDataSourceJndiName(String
name)
Set the data source name to use for persisting behavior tracking data.
This is the actual JNDI name of the data source; not the name of the
DataSource MBean.
setMaxBufferSize(int) Method
public void setMaxBufferSize(int maxSize)
Set maximum size of the event buffer. Setting this to 0 means all events
will be persisted as they are received.
setPersistedEventTypes(String[]) Method
public void setPersistedEventTypes(String
[] events)
Set the Event types to persist to the database.
setPersistenceClassname(String) Method
public void setPersistenceClassname(String
name)
Get the class that is used for persistence of the messages. The class
provided must be a subclass of
com.bea.p13n.tracking.internal.persistence.AbstractDatabasePersister
Use this option if you wish to override the default behavior of persisting
behavior tracking events to a database. This must be the fully qualified
classname of the persistence class.
setSweepInterval(int) Method
public void setSweepInterval(int sweepIntervalSecs)
Set the interval, in seconds, at which to check the buffers to see whether
events in the buffer must be persisted. There are two cases that will trigger
the persistence of the buffer: either the max buffer size (MaxBufferSize) has
been reached, or the maximum time to wait in the buffer (SweepMaxTime) has been
exceeded.
setSweepMaxTime(int) Method
public void setSweepMaxTime(int maxTime)
Set the time in seconds to wait before forcing a flush to the database
This is the longest amount of time that an even will exist in any cache.