public class CustomerStatsMgr extends BaseMgr implements CustomerStatsMgrIf
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex |
templateBaseDir
Constructor and Description |
---|
CustomerStatsMgr(KKEngIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static java.util.concurrent.BlockingQueue<CustomerEventIf> |
getEventQueue() |
protected int |
getMaxQueueSize()
The maximum queue size which may be overridden by a super class.
|
void |
insertCustomerEvent(CustomerEventIf event)
The CustomerEvent object is assigned to a queue and control is immediately given back to the
caller this API call.
|
void |
insertCustomerEventFromQueue(CustomerEventIf event)
Method used by thread that reads the event information from the queue and writes it to the
database.
|
acquireLock, addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkRequired, escapeHTML, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCacheMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getEventMgr, getExportMgr, getHTMLEscaper, getKonaKartConfig, getKonaKartConfig, getKonaKartConfig, getLangMgr, getManuMgr, getMiscItemMgr, getMiscPriceMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderIntegrationMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getProductsToCategoresCriteria, getPromMgr, getPunchOutMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getStoreTime, getSuggestionMgr, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isClassPresent, isCommunity, isDeadlockException, isEnterprise, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreSharedDb, isMultiStoreShareProducts, isMultiVendor, isUnix, manageThrowable, releaseLock, updateStaticVariablesNow
protected static org.apache.commons.logging.Log log
protected static java.lang.String mutex
public CustomerStatsMgr(KKEngIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionprotected int getMaxQueueSize()
public void insertCustomerEvent(CustomerEventIf event) throws java.lang.Exception
insertCustomerEvent
in interface CustomerStatsMgrIf
event
- the eventjava.lang.Exception
- an unexpected exceptionpublic void insertCustomerEventFromQueue(CustomerEventIf event) throws java.lang.Exception
event
- the eventjava.lang.Exception
- an unexpected exceptionpublic static java.util.concurrent.BlockingQueue<CustomerEventIf> getEventQueue()
Copyright © 2018 DS Data Systems UK Ltd.