Skip to main content
Element Software
12.5 and 12.7
본 한국어 번역은 사용자 편의를 위해 제공되는 기계 번역입니다. 영어 버전과 한국어 버전이 서로 어긋나는 경우에는 언제나 영어 버전이 우선합니다.

GetBinAssignmentProperties 를 참조하십시오

기여자

"GetBinAssignmentProperties" 메서드를 사용하여 데이터베이스에서 bin 할당 속성을 검색할 수 있습니다.

매개 변수

이 메서드에는 입력 매개 변수가 없습니다.

반환 값

이 메서드의 반환 값은 다음과 같습니다.

이름 설명 유형

속성

데이터베이스에 있는 현재 모든 bin 할당에 대한 속성을 자세히 설명합니다.

BinAssignmentProperties 배열입니다

요청 예

이 메서드에 대한 요청은 다음 예제와 비슷합니다.

{
    "method": "GetBinAssignmentProperties",
    "params": {
    },
    "id": 1
}

응답 예

이 메서드는 다음 예제와 유사한 응답을 반환합니다.

{
    "id": 1,
    "result": {
        "properties": {
            "algorithmRuntimeMS": 1105,
            "areReplicasValid": true,
            "binCount": 65536,
            "isBalanced": true,
            "isStable": true,
            "isWellCoupled": false,
            "layout": [
                {
                    "protectionDomainName": "1",
                    "services": [
                        {
                            "budget": 7281,
                            "serviceID": 16
                        },
                        {
                            "budget": 7281,
                            "serviceID": 19
                        },
                        {
                            "budget": 7281,
                            "serviceID": 24
                        }
                    ]
                },
                {
                    "protectionDomainName": "2",
                    "services": [
                        {
                            "budget": 7281,
                            "serviceID": 17
                        },
                        {
                            "budget": 7281,
                            "serviceID": 20
                        },
                        {
                            "budget": 7281,
                            "serviceID": 22
                        }
                    ]
                },
                {
                    "protectionDomainName": "3",
                    "services": [
                        {
                            "budget": 7281,
                            "serviceID": 18
                        },
                        {
                            "budget": 7281,
                            "serviceID": 21
                        },
                        {
                            "budget": 7281,
                            "serviceID": 23
                        }
                    ]
                }
            ],
            "numSwaps": 0,
            "numUpdatingBins": 0,
            "protectionDomainType": "node",
            "reason": "Final",
            "replicationCount": 2,
            "requestRebalance": false,
            "serviceStrandedCapacities": [],
            "timePublished": "2020-04-02T18:34:07.807681Z",
            "validSchemes": []
        }
    }
}

버전 이후 새로운 기능

12.0