use of com.tencent.angel.ps.server.data.handler.StreamIndexGetRowHandler in project angel by Tencent.
the class WorkerPool method registerHanders.
private void registerHanders() {
methodIdToHandler.put(TransportMethod.GET_ROWSPLIT.getMethodId(), new GetRowHandler(context));
methodIdToHandler.put(TransportMethod.GET_ROWSSPLIT.getMethodId(), new GetRowsHandler(context));
if (useStreamHandler) {
methodIdToHandler.put(TransportMethod.INDEX_GET_ROW.getMethodId(), new StreamIndexGetRowHandler(context));
} else {
methodIdToHandler.put(TransportMethod.INDEX_GET_ROW.getMethodId(), new IndexGetRowHandler(context));
}
methodIdToHandler.put(TransportMethod.INDEX_GET_ROWS.getMethodId(), new IndexGetRowsHandler(context));
methodIdToHandler.put(TransportMethod.GET_PSF.getMethodId(), new PSFGetHandler(context));
methodIdToHandler.put(TransportMethod.UPDATE_PSF.getMethodId(), new PSFUpdateHandler(context));
methodIdToHandler.put(TransportMethod.GET_PART.getMethodId(), new GetPartHandler(context));
methodIdToHandler.put(TransportMethod.UPDATE.getMethodId(), new BasicStreamUpdateHandler(context));
}
Aggregations