All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.trpc.admin.dto.WorkerPoolInfoDto Maven / Gradle / Ivy

/*
 * Tencent is pleased to support the open source community by making tRPC available.
 *
 * Copyright (C) 2023 THL A29 Limited, a Tencent company. 
 * All rights reserved.
 *
 * If you have downloaded a copy of the tRPC source code from Tencent,
 * please note that tRPC source code is licensed under the Apache 2.0 License,
 * A copy of the Apache 2.0 License can be found in the LICENSE file.
 */

package com.tencent.trpc.admin.dto;

import java.util.Map;

/**
 * Thread pool information view class
 */
public class WorkerPoolInfoDto extends CommonDto {

    /**
     * Thread pool information mapping
     */
    private Map workerPoolInfo;

    public WorkerPoolInfoDto(Map workerPoolInfos) {
        this.workerPoolInfo = workerPoolInfos;
    }

    public Map getWorkerPoolInfo() {
        return workerPoolInfo;
    }

    public void setWorkerPoolInfo(Map workerPoolInfo) {
        this.workerPoolInfo = workerPoolInfo;
    }

    @Override
    public String toString() {
        return "WorkerPoolInfoDto{" + "workerPoolInfo=" + workerPoolInfo + "} " + super.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy