|
|
package com.yohomars.search.utils;
|
|
|
|
|
|
public enum EventReportEnum {
|
|
|
|
|
|
CUSTOMSIMPLECANALCLIENT_AFTERPROPERTIESSET("afterPropertiesSet","CustomSimpleCanalClient.afterPropertiesSet", MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_STARTSHOPCLIENT("startShopClient","CustomSimpleCanalClient.startShopClient",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_STARTOPERATIONCLIENT("startOperationClient","CustomSimpleCanalClient.startOperationClient",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_STARTERPPRODUCTCLIENT("startErpproductClient","CustomSimpleCanalClient.startErpproductClient",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_HANDLECANALMESSAGE("handleCanalMessage","CustomSimpleCanalClient.handleCanalMessage",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_PUBLISHTOREDIS("publishToRedis","CustomSimpleCanalClient.publishToRedis",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_GETDELETEDATA("getDeleteData","CustomSimpleCanalClient.getDeleteData",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_GETUPDATEDATA("getUpdateData","CustomSimpleCanalClient.getUpdateData",MoudleEnum.producer),
|
|
|
CUSTOMSIMPLECANALCLIENT_GETDATA("getData","CustomSimpleCanalClient.getData",MoudleEnum.producer),
|
|
|
|
|
|
INDEXREBUILDJOB_REBUILDINDEXWITHLOG("rebuildIndexWithlog","IndexRebuildJob.rebuildIndexWithlog",MoudleEnum.consumer),
|
|
|
TPLADAPTORJOB_GETTPLPRODUCTCOUNT("getTplProductCount","TplAdaptorJob.getTplProductCount",MoudleEnum.consumer),
|
|
|
TPLADAPTORJOB_GETPRODUCTINDEXLIST("getProductIndexList","TplAdaptorJob.getProductIndexList",MoudleEnum.consumer),
|
|
|
TPLADAPTORJOB_ADDPRODUCTINDEXINTOES("addProductIndexIntoEs","TplAdaptorJob.addProductIndexIntoEs",MoudleEnum.consumer),
|
|
|
ABSTRACTMQLISTENER_WAITINGREBUILDINGINDEX("waitingRebuildingIndex","AbstractMqListener.waitingRebuildingIndex",MoudleEnum.consumer),
|
|
|
ABSTRACTMQLISTENER_UPDATEPRODUCTINDEXWITHDATAMAP("updateProductIndexWithDataMap","AbstractMqListener.updateProductIndexWithDataMap",MoudleEnum.consumer),
|
|
|
ABSTRACTMQLISTENER_SENDPRODUCTINDEXMESSAGE("sendProductIndexMessage","AbstractMqListener.sendProductIndexMessage",MoudleEnum.consumer),
|
|
|
ACTIVITYPRODUCTMQLISTENER_ONMESSAGE("onMessage","ActivityProductMqListener.onMessage",MoudleEnum.consumer),
|
|
|
BRANDMQLISTENER_ONMESSAGE("onMessage","BrandMqListener.onMessage",MoudleEnum.consumer),
|
|
|
GOODSIMAGESMQLISTENER_ONMESSAGE("onMessage","GoodsImagesMqListener.onMessage",MoudleEnum.consumer),
|
|
|
GOODSMQLISTENER_ONMESSAGE("onMessage","GoodsMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PARAMETERMAKEMQLISTENER_ONMESSAGE("onMessage","ParameterMakeMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTACTIVITIESLINKMQLISTENER_ONMESSAGE("onMessage","ProductActivitiesLinkMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTCOLORMQLISTENER_ONMESSAGE("onMessage","ProductColorMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTINDEXMQLISTENER_ONMESSAGE("onMessage","ProductIndexMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTKEYWORDSMQLISTENER_ONMESSAGE("onMessage","ProductKeywordsMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTMQLISTENER_ONMESSAGE("onMessage","ProductMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTPOOLDETAILMQLISTENER_ONMESSAGE("onMessage","ProductPoolDetailMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTMQLISTENER_UPDATEDATA("updateData","ProductMqListener.updateData",MoudleEnum.consumer),
|
|
|
PRODUCTPRICEMQLISTENER_ONMESSAGE("onMessage","ProductPriceMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTSEARCHMQLISTENER_ONMESSAGE("onMessage","ProductSearchMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTSORTMQLISTENER_ONMESSAGE("onMessage","ProductSortMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTSTANDARDRELATIONMQLISTENER_ONMESSAGE("onMessage","ProductStandardRelationMqListener.onMessage",MoudleEnum.consumer),
|
|
|
PRODUCTSTYLERELATIONMQLISTENER_ONMESSAGE("onMessage","ProductStyleRelationMqListener.onMessage",MoudleEnum.consumer),
|
|
|
SEARCHACTIONMQLISTENER_ONMESSAGE("onMessage","SearchActionMqListener.onMessage",MoudleEnum.consumer),
|
|
|
SIZEMQLISTENER_ONMESSAGE("onMessage","SizeMqListener.onMessage",MoudleEnum.consumer),
|
|
|
STORAGEMQLISTENER_ONMESSAGE("onMessage","StorageMqListener.onMessage",MoudleEnum.consumer),
|
|
|
STYLEMQLISTENER_ONMESSAGE("onMessage","StyleMqListener.onMessage",MoudleEnum.consumer),
|
|
|
YOHOODPRODUCTMQLISTENER_ONMESSAGE("onMessage","YohoodProductMqListener.onMessage",MoudleEnum.consumer),
|
|
|
YOHOODPRODUCTMQLISTENER_UPDATEINDEX("updateIndex","YohoodProductMqListener.updateIndex",MoudleEnum.consumer),
|
|
|
STANDARDMQLISTENER_ONMESSAGE("onMessage","StandardMqListener.onMessage",MoudleEnum.consumer),
|
|
|
STORAGESKUINDEXSERVICE_UPDATESTORAGESKUINDEXBYPRODUCTID("updateStorageSkuIndexByProductId","StorageSkuIndexService.updateStorageSkuIndexByProductId",MoudleEnum.consumer),
|
|
|
STORAGESKUINDEXSERVICE_UPDATESTORAGESKUINDEX("updateStorageSkuIndex","StorageSkuIndexService.updateStorageSkuIndex",MoudleEnum.consumer),
|
|
|
INDEXCONTROLLER_INDEX_CREATE("/index/create","IndexController.create",MoudleEnum.consumer),
|
|
|
INDEXCONTROLLER_INDEX_EXIST("/index/exist","IndexController.exist",MoudleEnum.consumer),
|
|
|
INDEXCONTROLLER_INDEX_REBUILD("/index/rebuild","IndexController.rebuild",MoudleEnum.consumer),
|
|
|
INDEXCONTROLLER_INDEX_UPDATE("/index/update","IndexController.update",MoudleEnum.consumer),
|
|
|
BRANDCONTROLLER_BRAND_1("/brand/{brandId}","BrandController.brand",MoudleEnum.service),
|
|
|
BRANDCONTROLLER_BRAND_2("/brand/{start}/{size}","BrandController.brand",MoudleEnum.service),
|
|
|
BRANDCONTROLLER_BRAND_LIST("/brand/list","BrandController.list",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_SEARCHOLD("/searchOld","SearchController.searchProducts",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_SEARCH("/search","SearchController.searchProductsNew",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_DISCOUNT("/discount","SearchController.discount",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_RECENT("/recent","SearchController.recent",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_NEW_SHELVE("/new-shelve","SearchController.searchNewestProductWithDiffBrand",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_NEW_PRODUCT("/new_product","SearchController.searchNewestProductWithParamBrand",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_BRANDS("/brands","SearchController.brands",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_GROUP_BRANDS("/group_brands","SearchController.groupBrands",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_SORTGROUP("/sortgroup","SearchController.sortGroup",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_COUNT("/count","SearchController.searchCount",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_SUGGEST("/suggest","SearchController.suggest",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_SHOPS("/shops","SearchController.shops",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_GROUP_SHOPS("/group_shops","SearchController.groupShops",MoudleEnum.service),
|
|
|
SEARCHCONTROLLER_SORT_SIZE_PRODUCTS("/sort_size_products","SearchController.sort_size_products",MoudleEnum.service),
|
|
|
TBLPRODUCTCONTROLLER_TBLPRODUCT_SEARCH("/tblproduct/search","TblProductController.search",MoudleEnum.service),
|
|
|
TBLPRODUCTCONTROLLER_TBLPRODUCT_UPDATE("/tblproduct/update/{product_skn}","TblProductController.updateIndex",MoudleEnum.service),
|
|
|
PRODUCTINDEXSERVICEIMPL_GETSEARCHAPIRESULT("getSearchApiResult","ProductIndexServiceImpl.getSearchApiResult",MoudleEnum.service),
|
|
|
AGGREGATIONSERVICE_GETAGGNAMEANDRESPONSE("getAggNameAndResponse","AggregationService.getAggNameAndResponse",MoudleEnum.service),
|
|
|
AGGREGATIONSERVICE_GETAGGNAMEANDRESPONSEWITHOUTCACHE("getAggNameAndResponseWithOutCache","AggregationService.getAggNameAndResponseWithOutCache",MoudleEnum.service),
|
|
|
SEARCHCOMMONSERVICE_DOSEARCH("doSearch","SearchCommonService.doSearch",MoudleEnum.service),
|
|
|
|
|
|
YOHOINDEXSERVICEIMPL_REBUILD("rebuild","YohoIndexServiceImpl.rebuild",MoudleEnum.core),
|
|
|
YOHOINDEXSERVICEIMPL_CONFIGURE("configure","YohoIndexServiceImpl.configure",MoudleEnum.core),
|
|
|
DATASYNTASKTHREAD_RUN("run","DataSynTaskThread.run",MoudleEnum.core),
|
|
|
YOHOINDEXIMPL_GETINDEXBUILDER("getIndexBuilder","YohoIndexImpl.getIndexBuilder",MoudleEnum.core),
|
|
|
YOHOINDEXDATALOADER_DOLOADDATA("doLoadData","YohoIndexDataLoader.doLoadData",MoudleEnum.core),
|
|
|
YOHOINDEXDATALOADER_HANDELEXCEPTION("handelException","YohoIndexDataLoader.handelException",MoudleEnum.core);
|
|
|
|
|
|
|
|
|
private String eventName;
|
|
|
private String functionName;
|
|
|
private String moudleName;
|
|
|
EventReportEnum(String eventName,String functionName,String moudleName){
|
|
|
this.eventName=eventName;
|
|
|
this.functionName=functionName;
|
|
|
this.moudleName=moudleName;
|
|
|
}
|
|
|
public String getEventName() {
|
|
|
return eventName;
|
|
|
}
|
|
|
public String getFunctionName() {
|
|
|
return functionName;
|
|
|
}
|
|
|
public String getMoudleName() {
|
|
|
return moudleName;
|
|
|
}
|
|
|
|
|
|
} |