public class IndexUpdateCallbackImpl extends Object implements IndexUpdateCallback
| Modifier and Type | Field and Description |
|---|---|
protected DocList |
docList |
protected AtomicLong |
documentSize |
protected long |
executeTime |
protected long |
maxDocumentRequestSize |
| Constructor and Description |
|---|
IndexUpdateCallbackImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClickCountField(Map<String,Object> doc,
String url,
String clickCountField) |
protected void |
addFavoriteCountField(Map<String,Object> doc,
String url,
String favoriteCountField) |
void |
commit() |
long |
getDocumentSize() |
long |
getExecuteTime() |
void |
init() |
void |
store(Map<String,String> paramMap,
Map<String,Object> dataMap) |
protected AtomicLong documentSize
protected volatile long executeTime
protected final DocList docList
protected long maxDocumentRequestSize
@PostConstruct public void init()
public void store(Map<String,String> paramMap, Map<String,Object> dataMap)
store in interface IndexUpdateCallbackpublic void commit()
commit in interface IndexUpdateCallbackprotected void addClickCountField(Map<String,Object> doc, String url, String clickCountField)
protected void addFavoriteCountField(Map<String,Object> doc, String url, String favoriteCountField)
public long getDocumentSize()
getDocumentSize in interface IndexUpdateCallbackpublic long getExecuteTime()
getExecuteTime in interface IndexUpdateCallbackCopyright © 2009–2017 CodeLibs. All rights reserved.