public class Scan4CallBack extends StoreCallBack
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
protected RemoteConfig |
remoteConfig |
delay, embeddedSerializer, mapper, MAX_SIZE, serializer, serverState, storeList, storeMaps, WSHandler
Constructor and Description |
---|
Scan4CallBack() |
Scan4CallBack(RemoteConfig remoteConfig) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
sorted == true, create RemoteScanStore, otherwise RemoteStore
|
Response |
processRequest(Request request)
try to reuse StoreServerHandler which assume response payload had been serialized
unlike ScanStore which assume response payload is a object
|
protected Response |
processScan(Request request)
process scan request type that includes scan range, cursor, KeyParas, KeySet
|
addStore, addStore, checkValue, getEmbeddedSerializer, getRemoteStore, getSerializer, getStoreMaps, getWSHandler, processFullQuery, processGet, processGetNoBlock, processGetNoBlockInt, processGetSeqNo, processGetSeqNoInt, processInsert, processKeyIterator, processParas, processPut, processQueryPut, processQueryStr, processQueryStr, processRemove, processSelectQuery, processStoreParas, processUpdateQuery, serializerResponse, setWSHandler
protected static final org.apache.commons.logging.Log logger
protected RemoteConfig remoteConfig
public Scan4CallBack()
public Scan4CallBack(RemoteConfig remoteConfig)
protected void init()
public Response processRequest(Request request)
processRequest
in interface TCPCallBack
processRequest
in class StoreCallBack
request
- protected Response processScan(Request request)
processScan
in class StoreCallBack
request
- Copyright © 2016. All rights reserved.