use of com.tencent.angel.ps.server.data.response.GetPartitionResponse in project angel by Tencent.
the class GetPartHandler method handle.
@Override
public ResponseData handle(RequestHeader header, RequestData data) throws Exception {
GetPartitionRequest request = (GetPartitionRequest) data;
ServerPartition partition = MatrixUtils.getPart(context.getMatrixStorageManager(), header.matrixId, header.partId);
return new GetPartitionResponse(partition);
}
Aggregations